Seperating text into 3 columns

Colleen45

Active Member
Joined
Jul 22, 2007
Messages
495
I have a list of texts of varying lengths, always seperated by the "first space" and then by a semi-colon

Sample
CTL3-Harare_bejnf [=Book - English juvenile non fiction];2417
CTL3-Harare_bejt [=Book - English juvenile Teens];155
CTL3-Harare_belp [=Book - English fiction large print];764


I'm battling to create formulas that will put this in 3 Columns, seperated by the "first space" and then by the semi-colon - The "first space" and the sem-colon must be omited from the results.
 
Last edited:

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Perhaps

Excel Workbook
ABCD
1CTL3-Harare_bejnf [=Book - English juvenile non fiction];2417CTL3-Harare_bejnf[=Book - English juvenile non fiction];2417
2CTL3-Harare_bejt [=Book - English juvenile Teens];155CTL3-Harare_bejt[=Book - English juvenile Teens];155
3CTL3-Harare_belp [=Book - English fiction large print];764CTL3-Harare_belp[=Book - English fiction large print];764
Sheet1
 
Upvote 0
This does not work as there is more than one space,

How do you want it split then?

Omitting semi colon

Excel Workbook
ABCD
1CTL3-Harare_bejnf [=Book - English juvenile non fiction];2417CTL3-Harare_bejnf[=Book - English juvenile non fiction]2417
2CTL3-Harare_bejt [=Book - English juvenile Teens];155CTL3-Harare_bejt[=Book - English juvenile Teens]155
3CTL3-Harare_belp [=Book - English fiction large print];764CTL3-Harare_belp[=Book - English fiction large print]764
Sheet1
 
Upvote 0
Thanks Peter, however the second column is keeping the "First Space" and the semi-colon, how would we tweak this so that it is removed (in the same formula)
 
Upvote 0
In my results there are no leading or trailing spaces in any of the three split columns.
 
Upvote 0
Upvote 0
My second columnn is definately showing a leading space, everything else works perfectly, thank you
Can I adjust something or do something that will remove the leading space?
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,853
Members
452,948
Latest member
UsmanAli786

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