Pivot Table Columns Labels

Vanda_a

Well-known Member
Joined
Oct 29, 2012
Messages
934
Hello all

I am new to Pivot Table. Below issue, i have no idea how to deal with it

A
B
C
D
E
F
G
H
I
1
Product
Vendor
Vendor
Vendor
Vendor
Amount
Amount
Amount
Amount
2
Apple
Sup
EEG
10$
5$
3
Apple
EEG
HOJO
40$
1$
4Orange
Sup
6$
5
Mango
Goh
SaSa
Sup
EEG
2$
2$
2$
5$

<tbody>
</tbody>
Above table is my report to track Vendors for products

My issue is how to combine vendors into one row at Column Labels?

Result:
A
B
C
D
E
F
1
Row Labels
Sup
EEG
Goh
SaSa
HOJO
2
Apple
3
Mango
4
Orange

<tbody>
</tbody>
Thank you very much
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
What about the values? DO you want the values to go into the table too?
If it is just about the Vendors, placing them in a row across the top, you can simple copy the 4 Vendor columns below each other, then run an the Remove Duplicates tool to remove duplicates, and lastly copy the column and paste special: Transpose.
 
Upvote 0
Hi,

See this image

1. This is your original data
2. Create a formula to concatenate the pieces of info
3. See formula in formula bar
4. Transpose the data and convert to values
5. Use Text-To-Columns to split the data and add column headings
6. Use a Pivot Table to compile the report as in image.
 
Upvote 0
ADVERTISEMENT
There is no easier way right? My raw data is so many rows

Thank you very much
 
Upvote 0
Your source data is very unconventional, so I cannot think of any other way to get to your desired output.
If you can send me a sample workbook with some desensitized data that simulates the structure of your actual table so I can see the table dimensions, I can assist in producing a macro to automate this process a bit more.
 
Upvote 0
There is no easier way right? My raw data is so many rows

Thank you very much
If you have access to PowerQuery there can be.
You have data organized in a "pivot Table" like format that you want in a new Pivot Table.
Its not uncommon to see this. But frustrating once it is realized the power Pivot Tables bring to properly formatted transactional or list data...
 
Upvote 0
i have tried PowerPivit but failed on NET Frame. Although I have alrdy installed it, excel still requires it. No idea.
this PowerQuery is a kind of add in too. I might get it sucked as powerpivot
 
Upvote 0
If you have access to PowerQuery there can be.
You have data organized in a "pivot Table" like format that you want in a new Pivot Table.
Its not uncommon to see this. But frustrating once it is realized the power Pivot Tables bring to properly formatted transactional or list data...
Spiller, I have "played" around with this sample data in Power Query. starting off with the obvious action of unpivoting the Vendor and Amount columns, but the problem is that the values get combined and one ends up with inaccurate combinations of amounts being grouped together. It seems as if one would have to end up combuining the data even in PQ to end up with the correct grouping of vendors and amounts. So its possible, but there are only 6 steps in Excel, and writing a macro to do this wouldn't be too much effort... (I hope :) )
 
Upvote 0

Forum statistics

Threads
1,196,273
Messages
6,014,383
Members
441,818
Latest member
itsfaisalkhalid

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