Splitting cell text into multiple columns without using text to columns

jimbogarner

Board Regular
Joined
Apr 22, 2010
Messages
100
Hi,

Is there a way to split text to columns without using that specific function? The reason I ask is I have a load of data that is split by a ' - ', I was originally planning to set up a macro that organises and splits the data into columns using the '-' delimiter (as well as a load of other things), however, we're now pulling in dates that are formatted as dd-mm-yyyy. Basically, I need it to split into a column when there is a space before the '-'... it also has issues if someone has a hyphenated name...

Data comes out like the following;
Attend - 20-09-2022 - Jo Bloggs - Cat A
Attend - 20-09-2022 - Jim Bloggs - Cat A
Attend - 21-09-2022 - Jim-Bean Bloggs - Cat B
Etc. Etc.

Thanks,

James
 

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.
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,397
Messages
6,119,271
Members
448,882
Latest member
Lorie1693

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