Selection format in once cell

lexkhan

New Member
Joined
Mar 4, 2008
Messages
47
Hello -

I have multiple selections in one cell separated by commas. I would like to show each selection as one line in cell and next choice as second line in same cell and so on...

Currently showing:

White monitor, Black Monitor, Blue
Monitor, Orange Monitor

What is needed:
White Monitor
Black Monitor
Blue Monitor
Orange Monitor


Is it Possible to show these choices in this format in one cell?

Please advice.

Thanks,
lexkhan
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,425
If this is in Cell A1...
White monitor, Black Monitor, Blue Monitor, Orange Monitor

Put this formula in B1...
=SUBSTITUTE(A1,", ",CHAR(10))

Make Sure you format cell B1 to have "Wrap Text" turned on. Also, make the Row 1's height tall enough to accommodate the multi-line text height.

You could then drag \copy the formula down column B for each value in column A.

After you have the formulas set up the way you like, You could then copy column B and Paste Special: Values on top of column B to replace the formulas.
Excel Workbook
AB
1White monitor, Black Monitor, Blue Monitor, Orange MonitorWhite monitor Black Monitor Blue Monitor Orange Monitor
2White monitor, Black Monitor, Blue Monitor, Orange MonitorWhite monitor Black Monitor Blue Monitor Orange Monitor
3White monitor, Black Monitor, Blue Monitor, Orange MonitorWhite monitor Black Monitor Blue Monitor Orange Monitor
...
Cell Formulas
RangeFormula
B1=SUBSTITUTE(A1,", ",CHAR(10))
B2=SUBSTITUTE(A2,", ",CHAR(10))
B3=SUBSTITUTE(A3,", ",CHAR(10))
 

Forum statistics

Threads
1,136,328
Messages
5,675,137
Members
419,551
Latest member
thangxpm

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