%% as a table
MyTable = readtable('MyFile.xlsx','Sheet','Sheet1')
%% as array
[onlyNumbers, onlyText, allCombined] =
xlsread('MyFile.xlsx','Sheet1')
_______________________________________________________________
INPUT: MyFile.xlsx
![A C D someData1 someData2 someData3 someData4 1 abc efg hij 123 2 abc efg hij 456 3 abc efg hij 789 4 efg abc 1122 hij 5 abc](//img.homeworklib.com/questions/c7e65ac0-410b-11eb-a0fe-95ace98b9ee8.png?x-oss-process=image/resize,w_560)
RESULTS:
![Command Window MyTable someData1 someData2 someData3 someData4 efg hij abc 123 hij efg Labc 456 abc hij efg 789 efg abc](//img.homeworklib.com/questions/c8521590-410b-11eb-81f0-1d79cea4e531.png?x-oss-process=image/resize,w_560)
![Command Window onlyNumbers 123 456 789 1122 1455 1788 2121 2454 2787 3120 3453 3786 4119 4452 4785 5118 5451 5784](//img.homeworklib.com/questions/c8b81290-410b-11eb-9a41-7fe53ed137b4.png?x-oss-process=image/resize,w_560)
![Command Window onlyText = someData4 someData3. someData2 someDatal hij efq abc hij efg abc hij efg abc hij efg](//img.homeworklib.com/questions/c914fe10-410b-11eb-b407-6d2355f15cc6.png?x-oss-process=image/resize,w_560)
![allCombined someData4. someData3 someData2 someDatal hij 1231 efg abc 456 hij efg abc hij 789 efg abc hij 1122 ef](//img.homeworklib.com/questions/c97505b0-410b-11eb-85ec-fb78e452d9e5.png?x-oss-process=image/resize,w_560)
------------------------------------------------------------------------------
COMMENT DOWN FOR ANY QUERY RELATED TO THIS ANSWER,
IF YOU'RE SATISFIED, GIVE A THUMBS UP
~yc~
A C D someData1 someData2 someData3 someData4 1 abc efg hij 123 2 abc efg hij 456 3 abc efg hij 789 4 efg abc 1122 hij 5 abc efg efg hij 1455 6 hij abc 1788 7 abc efg hij 2121 8 hij abc efg 2454 abc efg hij 2787 10 efg abc hij 3120 11 abc efg efg hij 3453 12 hij abc 3786 13 abc efg 4119 hij 14 abc efg hij 4452 15 Sheet1 : C CO
Command Window MyTable someData1 someData2 someData3 someData4 efg 'hij 'abc 123 'hij efg Labc 456 'abc 'hij 'efg 789 efg abc 1122 'hii 'hij 'efg 'abc 1455 'abc efg 'hij 1788 efg 'abc 2121 'hij 'hij 'efg 'abc 2454 'hij efg Labc 2787 'abc 'hij 'efg 3120 efg abc 3453 'hii efg 'hij 'abc 3786 'hij efg Labc 4119 'abc 'hij 'efg 4452 efg abc 4785 'hii efg 'hij 'abc 5118 'hij 'efg Labc 5451 'efg 'abc 5784 'hii
Command Window onlyNumbers 123 456 789 1122 1455 1788 2121 2454 2787 3120 3453 3786 4119 4452 4785 5118 5451 5784
Command Window onlyText = 'someData4' 'someData3. 'someData2' 'someDatal 'hij 'efq 'abc 'hij efg' abc 'hij efg 'abc 'hij efg 'abc 'hij efg 'abc 'hij efg 'abc 'hij efg 'abc 'hij 'efq 'abc 'hij efg abc 'hij efg Labc 'hij efg 'abc 'hij efg 'abc 'hij efg 'abc 'hij efg Labc 'hij efg 'abc 'hij efg 'abc 'hij efg 'abc 'hij efg 'abc
allCombined 'someData4. 'someData3' someData2' 'someDatal' 'hij 1231 efg 'abc 456 'hij efg 'abc 'hij 789 efg abc 'hij 1122 efg Labc 1455 'hij efg 'abc 'hij 'hij 1788 efg 'abc 21211 efg 'abc 'hij 2454 efg Labc 'hij 2787 efg 'abc 3120] 'hij efg 'abc 'hij 34531 efg 'abc 3786] 'hij efg 'abc 'hij hij 4119 efg 'abc 44521 efg 'abc 'hij 4785 efg Labc 51181 'hij efg 'abc 54511 'hij efg 'abc hij 5784 'efg 'abc >>