Formula needed

IneedHel

New Member
Joined
Jul 27, 2017
Messages
14
I run a report that I export into excel and it will have multiple names in one column separated by a comma. How can I move the crew members into their own column?

Current
COLUMN A
Needed
COLUMN A COLUMN B COLUMN C
Crew MemberCrew MemberCrew MemberCrew Member
chris porter, steve porter, cindy porterchris portersteve portercindy porter

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi,

You can do this with a formula:


Book1
ABCD
1Crew MemberCrew MemberCrew MemberCrew Member
2chris porter, steve porter, cindy porterchris portersteve portercindy porter
Sheet60
Cell Formulas
RangeFormula
B2=TRIM(MID(SUBSTITUTE($A2,",",REPT(" ",100)),COLUMNS($B1:B1)*100-99,100))


Formula copied across as far as needed.

If you're looking to REPLACE Column A with the separated values, you'll need VBA.
 
Upvote 0
Hi,

I need to correct myself in saying if you want to REPLACE Column A with separated values, you'll need VBA, actually, you Don't.

Select your cell (or Column) containing the data, go to Data tab, click Text to Columns, choose "Delimited", Next, choose "Comma", Next, click "Finish".
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,923
Messages
6,122,283
Members
449,075
Latest member
staticfluids

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