Pivot Newbie Needs Quick Help

sjakubik

Board Regular
Joined
Oct 20, 2009
Messages
54
I have the attached spreadsheet with two columns: column A (award) and column B (name). I need the data to be transposed to Name in column A, Award 1 in column B, Award 2 in column C, etc. Copy/transpose won't work because of the repeated names. I know this is a simple pivot thing but I cannot figure it out. Help, wise ones! Thanks! Susanna

[TABLE="width: 242"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Award[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]NHS Honor Collar[/TD]
[TD]Abraham, Noah[/TD]
[/TR]
[TR]
[TD]SNHS Honor Cord[/TD]
[TD]Abraham, Noah[/TD]
[/TR]
[TR]
[TD]SNHS Honor Cord[/TD]
[TD]Abraham, Noah[/TD]
[/TR]
[TR]
[TD]NHS Honor Collar[/TD]
[TD]Abraham, Noelle[/TD]
[/TR]
[TR]
[TD]SNHS Honor Cord[/TD]
[TD]Abraham, Noelle[/TD]
[/TR]
[TR]
[TD]YES Medal[/TD]
[TD]Abraham, Noelle[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
In addition to the above I notice another Board regular hiker95 had produce a close VBA solution so I slightly tweaked it and it's on Sheet of the linked file.

The only thing you need to do for that is to copy your 2 columns from Sheet1 to sheet2 but put Sheet1 column B data i.e Award into Sheet2 column A and put Sheet1 column A data i.e Award into Sheet2 column B. Have a look at sheet I have already put your original data in it.

Also once to the data is copied into sheet2 run the macro by pressing the Ctrl and the Q keys together. Once run copy the Award headings over as required

Download Pivot newbie final version.xlsm from Sendspace.com - send big files the easy way

Cheers
 
Upvote 0

Forum statistics

Threads
1,223,996
Messages
6,175,862
Members
452,676
Latest member
woodyp

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