Product in Excel Pivot Tables | MyExcelOnline

With Pivot Tables I will show you a cool trick on using what we call as flags. For example, we have a defect flag that marks if on that day we had a defect, then we can immediately summarize that data using Pivot Tables.

Our main methodology will be using the Product in Pivot Table. What this does is it will multiply all the values together.

Exercise Workbook:

DOWNLOAD EXCEL WORKBOOK


Here is our data set. Notice that I have added a Defects column. If there is a defect that day, we simply mark it as 1. This will be crucial once we use the Product function later.

Product in Excel Pivot Tables | MyExcelOnline

STEP 1: This is our Pivot Table setup. Drag Defects to the Values area:

Product in Excel Pivot Tables | MyExcelOnline

STEP 2: It will default as Sum of DEFECTS. Click on the arrow and select Value Field Settings

Product in Excel Pivot Tables | MyExcelOnline

Select Product and click OK.

Product in Excel Pivot Tables | MyExcelOnline

STEP 3: Now what Excel has done is for that specific duration, it has multiplied all the Defect values. So if any row for that specific duration has a 1, then the result in this Pivot Table is a 1 as well.

We love the ones that show zero because that means there are no defects! For example, would be for Bottles during the month of September 2014. Double click on it to see more details!

Product in Excel Pivot Tables | MyExcelOnline

You can see that in the data breakdown for September 2014, there are no defects! This is why the Product result is 0.

Product in Excel Pivot Tables | MyExcelOnline

Now try double-clicking on Ice Cubes during the month of March 2013:

product in pivot table

You can see it has defects, so which is why the Product result when you multiply them together is 1.

Product in Excel Pivot Tables | MyExcelOnline

Make sure to download our FREE PDF on the 333 Excel keyboard Shortcuts here:

HELPFUL RESOURCES:

JOIN OUR FREE EXCEL COURSES BELOW
Click here to access these FREE Excel courses!

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin