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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,214
Messages
6,123,664
Members
449,114
Latest member
aides

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