Extracting numbers from a string

Zac

Well-known Member
Joined
Feb 20, 2002
Messages
796
Take 123456789
I want to extract each number into 9 consecutive cells.
1 will be in A1,
2 will end up in B1,
etc.

How can I accomplish this. I've tried different
things using the RIGHT function, but I'm stuck.

Need your help,
Thanks,
Zac
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Zac,

Lets say that the target number is in A1.

In B1 enter:

=MID($A$1,COLUMN()-1,1)

and copy across as far as needed.

Or use Data|Text to Columns, where you choose 'Fixed Width' and bring break lines between each digit by clicking at desired locations.

Aladin
 
Upvote 0
I'll try it later on, thanks.
Have a meeting from 8:00 till 4:00 today.
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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