Link to home
Start Free TrialLog in
Avatar of Todd W
Todd WFlag for United States of America

asked on

Extract only Certain Data for Pivot Table Column

so I have another one that you folks might be able to help me with with please.   See attached

Employee Name
Possible Colors of Product - RED, GREEN, YELLOW, PURPLE
Amount of Each Sale
Total of Each color

So I need to pivot table the data to show

Employee Name
How Many of Each Color for each employee
Total # of sales regardless of color for each employee
Total Amount of Sales for each employee

How do I get a pivot table to show me only RED or only BLUE, etc. in the respective columns?

Thanks much
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

No file attached.

If the colour of the product is in its own column in the source data you can use it as a filter option.

When in the Pivot Table and the field list is visible on the right, drag the Colour column to the Filters pane (top left window in the bottom right area). This will then appear above the pivot table and will have a drop-down to select the colours; you will need to tick the option for selecting multiple items if you want more than one item ticked.
Avatar of Todd W

ASKER

sorry I was sure I attached the sample spreadsheet.  here it is.
Book1.xlsx
You may insert a Pivot Table as shown in the attached and insert a Color Slicer so that you can pick the color you want to show on Pivot Table.
PivotTable.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Rob Henson
Rob Henson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Todd W

ASKER

Subodh thank you sir - almost but not quite what I'm looking for.  Something I did not mention is I will need to print this pivot table out for reporting so it cannot have all the extras accompanied by something as the Color Slicer in it.  Needs to be simple formatted.  Also the $ amounts for the varying colors is not what I was looking for. I was looking for the total # (not $ amount) of Red, Green, Purple, Yellow by employee so for example Employee AA has 21 red,  6 green, 3 yellow, 2 purple for a total of 32.
Avatar of Todd W

ASKER

thank you both for your input.  compiling info from the two of you i was able to achieve what I needed.

Thank you again
TW
Glad I was able to help