Looking at 1 Column and then extracting the same number of characters into separate columns

rebel123

Active Member
Joined
Apr 18, 2017
Messages
347
Office Version
  1. 365
Platform
  1. MacOS
The correct answers are attached- I may have put a few in the wrong order but the order does not matter- only the number
of characters. So, the answer is correct. I just need an equals sign equation.

I am extracting the first series of data and then I am putting all of the answers in separate columns
by separating them into separate columns.


File is here

Image is attached
 

Attachments

  • Screenshot 2023-02-26 at 7.37.56 AM.jpg
    Screenshot 2023-02-26 at 7.37.56 AM.jpg
    221.4 KB · Views: 17
OK sorry here is the google link-

 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
or this is the onedrive. Not sure if you can download from either link. I dont know how onedrive works.

 
Upvote 0
Thanks for that.
For the result in a single column how about
Info.xlsx
AB
10201022600000250000000020104410005022
20201044100040030100000020104500001075
3020104410004017001020309303000025
402010441000403700202020828000000706
502010441000502202030930300001901
602010450000107502030931100001301
70201045100020380000001020104410004017001
80202052100000160020000020104410004037002
902020827000000400100000201022600000250000000
1002020827000001200000010201044100040030100000
1102020828000000603000000201045100020380000001
1202020828000000700700000202052100000160020000
13020208280000007060202082700000040010000
1402020930000000503000000202082700000120000001
1502020930000000506000000202082800000060300000
1602030623000001700100000202082800000070070000
17020309303000019010202093000000050300000
180203093030000250202093000000050600000
1902030930300006200000000203062300000170010000
20020309311000013010203093030000620000000
Sheet1
Cell Formulas
RangeFormula
B1:B20B1=SORTBY(A1:A20,LEN(A1:A20))
Dynamic array formulas.
 
Upvote 1
Solution
oh nevermind it worked. The reason why it didnt work before was because when I first
started this spreadsheet I changed all of the cells formats to TEXT ONLY.

If you do that (like I did) the formula does not work.

So I opened a new spreadsheet, copied column A and then put your formula in Column B.

Thanks Fluff!
 
Upvote 0
i tried the formula and it did not work. I may have done it wrong. Another thing you
could do is upload the excel file with the correct results, since I uploaded the sample
excel file.

Although a formula solution is preferred.... a VBA solution would be fine if you upload
the excel file. I have An Apple Computer, so I think I wrote that on my profile.

Many thanks!
See you got sorted , yes if the data was text the formula would not work for you
 
Upvote 0

Forum statistics

Threads
1,215,219
Messages
6,123,681
Members
449,116
Latest member
HypnoFant

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top