Separate number into their own cells, but more advanced.

gleemonex69

New Member
Joined
Dec 9, 2010
Messages
37
Good morning, Excel gods. I need help yet again. I have a lot of data in on cell that I need separated into their own cells.

866-0108 1/15 LB BONGARDS BLOCK YELLOW CHEDDAR 2.10 2.13 .03- 87.00 109.62-

<tbody>
</tbody>



This is what is in one cell.

866-0108(Left Blank)1/15 LBBONGARDSBLOCK YELLOW CHEDDAR2.102.13.03-87.00109.62-

<tbody>
</tbody>




This is the outcome I would like. Thank you so much for your assistance.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
It depends on what your other data looks like and how much variance there is.
Can you come up with an explanation of exactly where every item should be split that will work on ALL your data?
If not, I don't think you will be able to come up with a formula to do it.

Excel is not magic, it cannot do that which cannot be explained. It can only do exactly what we tell it.
So, in order to program a rule, we need to know exactly that rule is.
 
Upvote 0
Thank you so much for replying, but I forgot that Excel has a Text To Columns feature. I got it squared away. Thank you.
 
Upvote 0
How do you account for some of your entries having more than one word, as if you use Text to Columns and use the Space as a delimiter, entries like:
1/15 LB
and
BLOCK YELLOW CHEDDAR
will actually be split over multiple cells, and not all in one cell each?
 
Upvote 0
Text to Columns > Select Fixed Width > Next > then move the break lines to set fields widths > Next > Finish.

Separated 680 rows really quick.
 
Last edited:
Upvote 0
OK. Didn't realize that your records were all aligned vertically, where "Fixed Width" would work (as we really cannot tell that by just seeing a single record).

Yes, Text to Columns is a great tool that works under the right conditions (data is all aligned or all delimited by a specified character).
Glad your data is aligned in such a way that allows you to use it. It certainly makes the task pretty straightforward. If your data wasn't aligned in that manner, this would prove to be quite a tricky task.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,560
Members
449,089
Latest member
Motoracer88

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