Pinterest Pixel

Product in Excel Pivot Tables

Bryan
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.

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.

Key Takeaways

  • Calculate Multiplicative Totals with Data Model – Excel Pivot Tables don’t natively support the PRODUCT function, but you can achieve it using Power Pivot or the Data Model.

  • Use Calculated Fields for Workarounds – You can use calculated fields and helper columns to simulate product calculations where needed.

  • Power Pivot Enables DAX Functions – By enabling the Data Model, you can use the DAX PRODUCTX function for accurate multiplicative summaries.

  • Standard Pivot Tables Only Offer Additive Measures – Out of the box, Pivot Tables support functions like SUM, COUNT, and AVERAGE—not PRODUCT.

  • Ideal for Multiplicative Metrics – Use when you need to calculate things like compounded growth or product of rates across categories.

Our Data Set

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

Product in Excel Pivot Tables

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

Product in Excel Pivot Tables

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

Product in Excel Pivot Tables

Select Product and click OK.

Product in Excel Pivot Tables

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

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

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

Product in Excel Pivot Tables

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

Frequently Asked Questions

Can I directly use the PRODUCT function in a regular Pivot Table?
No, the standard Pivot Table does not include PRODUCT as a built-in aggregate function.

How can I calculate a product in a Pivot Table?
You can simulate it using calculated columns or by adding your data to the Data Model and using Power Pivot with DAX functions like PRODUCTX.

What is PRODUCTX in Power Pivot?
PRODUCTX is a DAX function that multiplies values in a column for each row of a table and returns the total product, ideal for use in Power Pivot.

Do I need to enable anything to use PRODUCTX?
Yes, you must load your data into the Data Model and use Power Pivot to access DAX functions like PRODUCTX.

What are typical use cases for calculating products in Pivot Tables?
Common examples include calculating compounded returns, multiplying quantity and unit rate across filters, or aggregating multiplicative KPIs by category.

If you like this Excel tip, please share it



Product in Excel Pivot Tables | MyExcelOnline


Bryan

Bryan Hong is an IT Software Developer for more than 10 years and has the following certifications: Microsoft Certified Professional Developer (MCPD): Web Developer, Microsoft Certified Technology Specialist (MCTS): Windows Applications, Microsoft Certified Systems Engineer (MCSE) and Microsoft Certified Systems Administrator (MCSA).

He is also an Amazon #1 bestselling author of 4 Microsoft Excel books and a teacher of Microsoft Excel & Office at the MyExecelOnline Academy Online Course.

See also  Insert Grand Totals to a Pivot Table

Steps To Follow

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...