Help with splitting cell data with text to columns or using a function

divster27

New Member
Joined
Jan 19, 2021
Messages
32
Office Version
  1. 2016
Platform
  1. Windows
I've got a data set that includes a number of data sets - Artist / Title separated by '/' and then sometimes Format added in ( )
And sometimes more than 1 '/'

eg

Coldplay / Parachutes (1LP)
Del Rey, Lana / Lust for Life (2LP/180g/Gat)
Jones, Norah / Playdate (1LP/RSD)
Joy Division / Substance
Lorde / Melodrama (1LP)
Maximo Park / Nature Always Wins (1LP/Turquoise/MP3)

What i'm trying to do is separate the first data set before the first /
and have the remainder in the second set

So, like this...

ColdplayParachutes (1LP)
Del Rey, LanaLust for Life (2LP/180g/Gat)
Jones, NorahPlaydate (1LP RSD)
Joy DivisionSubstance
LordeMelodrama (1LP)
Maximo ParkNature Always Wins (1LP/Turquoise/MP3)

I've been playing around with the Text to Columns functionality, but that doesnt like it when thee's multiple '/'
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
How about
+Fluff 1.xlsm
ABC
1
2Coldplay / Parachutes (1LP)ColdplayParachutes (1LP)
3Del Rey, Lana / Lust for Life (2LP/180g/Gat)Del Rey, LanaLust for Life (2LP/180g/Gat)
4Jones, Norah / Playdate (1LP/RSD)Jones, NorahPlaydate (1LP/RSD)
5Joy Division / SubstanceJoy DivisionSubstance
6Lorde / Melodrama (1LP)LordeMelodrama (1LP)
7Maximo Park / Nature Always Wins (1LP/Turquoise/MP3)Maximo ParkNature Always Wins (1LP/Turquoise/MP3)
Master
Cell Formulas
RangeFormula
B2:B7B2=TRIM(LEFT(A2,FIND("/",A2)-1))
C2:C7C2=TRIM(MID(A2,FIND("/",A2)+1,100))
 
Upvote 0
Solution
thanks Fluff, worked a treat
it's about the worst stocklist i've seen putting sometimes 6 data fields into one..)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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