Hide "duplicate" information in pivot table?

KyleC123

New Member
Joined
Jun 7, 2016
Messages
8
Hi all, I know this goes against what pivot tables are meant to do, but for display purposes this is what I am trying to achieve:

Data: ................................................. "Standard" Pivot layout:

Vendor ................. Product ...................Vendor ............... Product
ABC LTD ............... Apples ................... ABC LTD ...............Apples
ABC LTD .............. Oranges ............... ..............................Oranges
ABC LTD ............... Bananas ............... .............................Bananas
DEF LTD ...............Apples .....................DEF LTD................Apples
DEF LTD ...............Oranges ............... ...............................Oranges
DEF LTD ...............Bananas ............... ...............................Bananas

DESIRED Pivot layout (new style compact pivot):
Vendor
..ABC LTD
..DEF LTD
..Product
....Apples
....Oranges
....Bananas

The point is not to outline all the different combinations, but just list the various unique vendors, followed by unique products.

The data I am working with is quite a bit more complex (about 20 different fields in the pivot) but the same concept applies, I want to only display UNIQUE values in relation to a higher level field, instead of different combinations of values. My pivot is structured to show people, ID(s), address(es), phone(s), email(s), etc, and I only want to show each unique email a single time, instead of unique combinations of ID/Address/Phone/email.

The data is quite complex, so in some instances there will legitimately be multiple different values, can't really rely on sequential order, etc. I also have a feeling it will be extremely difficult to sort this in my source data, as you have to interpret the "context" in any calculations.

Also if at all possible, I want to keep this in a relatively simple single pivot, I have a feeling if I try and sort the entire thing via VBA or repivoting/lookups, it'll just become unworkably complex due to the large number of fields that need to be manipulated. I also want to keep it in a pivot so that the end user has all the pivot functionality, expand, filter, drill down, etc.

I know it's asking a lot, but any thoughts? And thanks very much!
 
Last edited:

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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