Changing spacing

Status
Not open for further replies.

jswaim

Board Regular
Joined
Sep 27, 2002
Messages
141
HI,
I have a problem, which I hope is easy to solve. I have four columns of data. In column A is a model code, column B lists the options of that model, Column C is the color of the model, and Column D is the Trim level.

My problem is that in column B, all the option codes are grouped together and separated by a comma. I can have 35 or 40 option codes in one cell.
What I would like to do is separate each option code in column B so that each option is in it's own cell. The options codes need to go down the column and start over at each new model code. An example of the data is at the bottom of the page.
Thanks,
Jason

CC10703(A1)
AE7,BG9,C42,C7H,DE2,FE9,GU5,LU3,M30,NX7,NZ4,QPR,UE1,UM7,VK3,ZY1,Z83,1WT(B1)
50U(C1)
88V(D1)

CC10703(A1)AE7,BG9,C67,C7H,DE2,FE9,GU5,LU3,M30,NX7,NZ4,QPR,UE1,UM7,VK3,ZY1,Z83,1WT(B1)
74U(C1)
88B(D1)
CC10703(A1)AE7,BG9,C67,C7H,DE2,FE9,GU5,K34,LU3,M30,NX7,NZ4,QPR,R9U,SAF,UE1,UM7,VK3,ZY1,Z83,1WT(B1)
50U(C1)
88B(D1)
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

jswaim

Board Regular
Joined
Sep 27, 2002
Messages
141
that seems to work, but it deletes my data in column c and d. Also, is there a way to make the options go down the column instead of across the rows?
 
Upvote 0

sullyman4

Board Regular
Joined
Nov 8, 2004
Messages
151
When using text to columns, insert to the right the number of blank columns that will be needed to accomodate the number of possible models. Then do text to columns
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,191,121
Messages
5,984,764
Members
439,909
Latest member
daigoku

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
Top