How to split string values using delimiter into multiple rows in Excel 2010

FirAzad

New Member
Joined
Jul 21, 2014
Messages
1
Hi,

I need help in splitting string values for multiple columns into multiple rows:

Here's how my data is currently stored:

School Name
Cluster Name​
Pathway Name​
Program Name​
Course Name​
School 1​
C1;C2;C3;​
P1;P2;P1;​
PG2;PG14;PG19;CS1,CS3,CS5;CS6,CS9,CS10;CS11,CS12;
School 2​
C1;C2;P2;P4;PG5;PG6;CS8;CS2,CS7;
School 3​
C3;C4;P5;P1;PG2;PG1;CS11;CS14;

<tbody>
</tbody>

I want it to look like this:

School NameCluster NamePathway NameProgram NameCourse Name
School 1C1P1PG2CS1
School 1C1P1PG2CS3
School 1C1P1PG2CS5
School 1C2P2PG14CS6
School 1C2 P2PG14CS9
School 1C2 P2PG14CS10
School 1C3P1PG19CS11
School 1C3P1PG19CS12
School 2C1P2PG5CS8
School 2C2P4PG6CS2
School 2C2P4PG6CS7
School 3C3P5PG2CS11
School 3C4P1PG1CS14

<tbody>
</tbody>

I have separated the courses within same cluster/pathway/program/ with commas delimiter. I have more than 10 schools and each have multiple cluster/pathway/program/courses in it.

First I need to split values between semicolon (;) and then split course values between commas (,).

I can use macros. Any help would be really appreciated!!!

Thanks,
Firthouse
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Text to columns in the data tab.

Edit:
Sorry I misread. Although you could still do text to columns and throw it all in a pivot table(with tablular layout and repeating items) afterward. The only other way I can think of would involve a macro.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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