Moving Row-Level Output data into Columns

burghman217

New Member
Joined
Jan 30, 2017
Messages
10
I have a scenario where I need to move additional data in rows with the same primary key into additional columns. Below is a link to two photos to reflect what the current data output looks like and how I will need it to appear:

Education & Work History - Album on Imgur

Basically, I need the data from each row to roll up into separate, repeating columns based upon the primary key, Candidate ID. Is this possible?
 
[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD][TABLE="width: 128"]
<tbody>[TR="class: outer_border"]
[TD="width: 128"]CURRENT FORMAT[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR="class: outer_border"]
[TD="width: 128"]Candidate ID[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 186"]
<tbody>[TR="class: outer_border"]
[TD="width: 186"]School[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 88"]
<tbody>[TR="class: outer_border"]
[TD="width: 88"]Degree Type[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 105"]
<tbody>[TR="class: outer_border"]
[TD="width: 105"]Degree[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<tbody>[TR="class: outer_border"]
[TD="width: 71"]Grad Year[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR="class: outer_border"]
[TD="width: 128, align: right"]30[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 186"]
<tbody>[TR="class: outer_border"]
[TD="width: 186"]George Washington University[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 88"]
<tbody>[TR="class: outer_border"]
[TD="width: 88"]Doctorate[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 105"]
<tbody>[TR="class: outer_border"]
[TD="width: 105"]Political Science[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<tbody>[TR="class: outer_border"]
[TD="width: 71, align: right"]2010[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR="class: outer_border"]
[TD="width: 128, align: right"]30[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 186"]
<tbody>[TR="class: outer_border"]
[TD="width: 186"]RUTGERS COLLEGE[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 88"]
<tbody>[TR="class: outer_border"]
[TD="width: 88"]Bachelors[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 105"]
<tbody>[TR="class: outer_border"]
[TD="width: 105"]Political Science[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<tbody>[TR="class: outer_border"]
[TD="width: 71, align: right"]2005[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR="class: outer_border"]
[TD="width: 128"]DESIRED FORMAT[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR="class: outer_border"]
[TD="width: 128"]Candidate ID[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 186"]
<tbody>[TR="class: outer_border"]
[TD="width: 186"]School[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 88"]
<tbody>[TR="class: outer_border"]
[TD="width: 88"]Degree Type[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 105"]
<tbody>[TR="class: outer_border"]
[TD="width: 105"]Degree[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<tbody>[TR="class: outer_border"]
[TD="width: 71"]Grad Year[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<tbody>[TR="class: outer_border"]
[TD="width: 136"]School[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 88"]
<tbody>[TR="class: outer_border"]
[TD="width: 88"]Degree Type[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 105"]
<tbody>[TR="class: outer_border"]
[TD="width: 105"]Degree[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<tbody>[TR="class: outer_border"]
[TD="width: 71"]Grad Year[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 128"]
<tbody>[TR="class: outer_border"]
[TD="width: 128, align: right"]30[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 186"]
<tbody>[TR="class: outer_border"]
[TD="width: 186"]George Washington University[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 88"]
<tbody>[TR="class: outer_border"]
[TD="width: 88"]Doctorate[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 105"]
<tbody>[TR="class: outer_border"]
[TD="width: 105"]Political Science[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 71"]
<tbody>[TR="class: outer_border"]
[TD="width: 71, align: right"]2010[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 136"]
<tbody>[TR="class: outer_border"]
[TD="width: 136"]RUTGERS COLLEGE[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 88"]
<tbody>[TR="class: outer_border"]
[TD="width: 88"]Bachelors[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 105"]
<tbody>[TR="class: outer_border"]
[TD="width: 105"]Political Science[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD] [TABLE="width: 71"]
<tbody>[TR="class: outer_border"]
[TD="width: 71, align: right"]2005[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]


I decided to go the long way--figured it would be easier. I'm hoping the above scenario makes sense?
 
Last edited:
Upvote 0

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Last edited:
Upvote 0

Forum statistics

Threads
1,222,752
Messages
6,168,007
Members
452,160
Latest member
Bekerinik

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