How to do a Pareto analysis in Excel
1. One row per item. Summarise the raw data first, for example revenue per product with a pivot table or SUMIFS, so each product appears once. 2. Sort descending. Sort the table by the value column from largest to smallest; the whole analysis depends on this order. 3. Share. =B2/$B$14 divides each value by the total in B14. 4. Cumulative share. =SUM($B$2:B2)/$B$14 uses an expanding range: the start is fixed with $ signs, the end moves down one row at a time, so row 6 sums B2:B6. 5. Class. =IF(D2<=0.8,"A",IF(D2<=0.95,"B","C")) labels each item.
Then summarise: =COUNTIF(E2:E13,"A") counts the A products (5), =B16/COUNT(B2:B13) turns that into a share of the assortment (41.7%), and =SUMIF(E2:E13,"A",B2:B13)/B14 returns the revenue share of class A (78.8%). Those two percentages are the headline of every Pareto analysis: "42% of products, 79% of revenue".
Cumulative share without sorting: the SUMIF trick
If the data must stay in its original order, for example because it feeds other formulas, calculate the cumulative share with =SUMIF($B$2:$B$13,">="&B2)/$B$14. For each row it adds every value that is at least as large as the current one, which is exactly the running total a sorted list would show. Column F in the example gives the same result as column D.
The one catch is ties: if two products have exactly the same revenue, both receive the combined running total. That is usually acceptable for classification. If you need a strict order, add a tiny tie-breaker or rank first with RANK.EQ. In Excel 365 you can also sort on the fly with SORTBY and build the analysis on the sorted spill range.
Worked example: twelve products, cumulative share and ABC classes
Revenue per product (yellow), already sorted from largest to smallest. Columns C to F are formulas; the summary below the total shows the 80/20 headline.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Product (sorted by revenue) | Revenue | Share | Cumulative share | Class | Cumulative via SUMIF |
| 2 | Espresso machine Pro | 148,000 | 29.6% | 29.6% | A | 29.6% |
| 3 | Burr grinder | 96,000 | 19.2% | 48.8% | A | 48.8% |
| 4 | Milk frother | 64,000 | 12.8% | 61.6% | A | 61.6% |
| 5 | Bean subscription | 52,000 | 10.4% | 72.0% | A | 72.0% |
| 6 | Descaler kit | 34,000 | 6.8% | 78.8% | A | 78.8% |
| 7 | Cup set | 26,000 | 5.2% | 84.0% | B | 84.0% |
| 8 | Water filters | 22,000 | 4.4% | 88.4% | B | 88.4% |
| 9 | Tamper | 18,000 | 3.6% | 92.0% | B | 92.0% |
| 10 | Cleaning tablets | 14,000 | 2.8% | 94.8% | B | 94.8% |
| 11 | Coffee scale | 11,000 | 2.2% | 97.0% | C | 97.0% |
| 12 | Knock box | 9,000 | 1.8% | 98.8% | C | 98.8% |
| 13 | Spare gaskets | 6,000 | 1.2% | 100.0% | C | 100.0% |
| 14 | Total | 500,000 | ||||
| 15 | ||||||
| 16 | Number of A products | 5 | ||||
| 17 | Share of products in class A | 41.7% | ||||
| 18 | Revenue share of class A | 78.8% | ||||
| 19 | Products needed to pass 80% of revenue | 6 | ||||
| 20 | Number of C products | 3 |
- C2
=B2/$B$14Share of the total - D2
=SUM($B$2:B2)/$B$14Running total ÷ total - E2
=IF(D2<=0.8,"A",IF(D2<=0.95,"B","C"))ABC class at 80% / 95% - F2
=SUMIF($B$2:$B$13,">="&B2)/$B$14Cumulative share without sorting - B17
=B16/COUNT(B2:B13)Share of products in class A - B18
=SUMIF(E2:E13,"A",B2:B13)/B14Revenue share of class A - B19
=COUNTIF(D2:D13,"<0.8")+1Items needed to pass 80%
Fictional coffee-equipment shop. Class limits at 80% and 95% of cumulative revenue.
Where to draw the A, B and C lines
The 80% and 95% cut-offs are a convention, not a law. Many inventory teams use 70/90 or 80/95; some define classes by item count instead (top 20% of items = A). Decide the rule once and write it next to the table so the classification can be repeated next quarter.
Also decide how to treat the item that crosses the line. With the rule "cumulative ≤ 80%", the Cup set, whose running total jumps from 78.8% to 84.0%, lands in class B. If your rule is "every item needed to reach 80%", count the items below 80% and add one: =COUNTIF(D2:D13,"<0.8")+1 returns 6. Both readings are common, so state which one you use.
Pareto chart and other uses
A Pareto chart shows the values as descending columns and the cumulative share as a line on a secondary axis from 0% to 100%. Select the product names, the values and the cumulative share, insert a combo chart, and put the cumulative series on the secondary axis. A horizontal line at 80% makes the cut-off visible. Excel 2016 and later also offer a ready-made Pareto chart among the statistic charts, which sorts the data itself; the manual combo chart has the advantage that it uses exactly the cumulative column and classes from your table.
The same method works for any "few causes, large effect" question: defects by cause in quality management, complaints by reason, spend by supplier in procurement, returns by return reason, or customers by revenue. Pareto shows concentration but not profitability or growth: a class-C product can be strategically important, and a class-A customer can be unprofitable. Combine the ranking with margin data before cutting the long tail.
Common mistakes
- Forgetting to sort. A running total on unsorted data is meaningless. Sort by value descending, or use the SUMIF version.
- No $ sign at the start of the range.
=SUM(B2:B2)filled down only sums a single moving cell. The start must be fixed:$B$2:B2. - Analysing raw transactions. If a product appears in many rows, aggregate first so each item has one total.
- Expecting exactly 80/20. Real data gives 70/30, 90/10 or anything in between. Report the actual numbers.
- Leaving the boundary item unexplained. State whether the item that crosses 80% belongs to A or B.
- Cutting class C on revenue alone. Check margin, strategic role and cross-selling before dropping the long tail.
Frequently asked questions
How do you do a Pareto analysis in Excel?
Sort the items by value from largest to smallest, calculate each item's share of the total, then a cumulative share with =SUM($B$2:B2)/total filled down. Items up to 80% cumulative are the vital few.
What is the 80/20 rule in a Pareto analysis?
It is the observation that roughly 80% of an effect often comes from about 20% of the causes. It is a rule of thumb about concentration; real data rarely splits exactly 80/20.
How do I calculate a cumulative percentage in Excel?
Use an expanding range: =SUM($B$2:B2)/$B$14 in the first row and fill it down. The fixed start and moving end make each row include all rows above it.
What is the difference between Pareto and ABC analysis?
ABC analysis is a Pareto analysis with classes: A for the items up to about 80% of the cumulative value, B for the next 15%, C for the rest. The exact limits are chosen by the company.
How do I make a Pareto chart in Excel?
Plot the sorted values as columns and the cumulative percentage as a line on a secondary axis scaled 0% to 100%. Excel 2016 and later also offer a built-in Pareto chart among the statistic chart types.