Pareto Chart and ABC Analysis in Excel From a Sales Export
Rank customers or products, add a running share, class them A, B and C, and build the Pareto chart in Excel. On a real year, 26.7% of customers made 80%.
- Excel
- Sales Analysis
- E-commerce

You have a year of sales and want to know which customers or products carry the business. A Pareto analysis answers it: total each customer, sort from largest to smallest, add a running share of revenue, and read where it crosses 80%. An ABC analysis goes one step further and labels each row A, B or C. This guide builds both in Excel from an order export, makes the Pareto chart, and shows what the result looked like on a real retailer's year, including two customers who were not what the ranking said.
What is a Pareto analysis?
A Pareto analysis ranks items by value and shows how much of the total the top items hold together. The 80/20 rule says a small share of customers or products often brings most of the revenue. It is a rule of thumb, not a law, and your split can be 70/15 or 90/30.
CPA Australia calls it "the law of the vital few" and notes that the two numbers don't have to add up to 100 INTHEBLACK. The output is always the same: a sorted list, a cumulative share, and the point where the top group stops.
Use it to decide where attention goes. Which accounts get a named contact, which products never go out of stock, which long tail of items you could drop. It answers "who matters most", not "why".
How do you do a Pareto analysis in Excel?
Total the revenue by customer, sort it from largest to smallest, and add a column with the running total divided by the grand total. The first row where that share passes 80% marks the end of the top group.
Turn the export into a table named Orders, with one row per order or product line and the columns Invoice, Date, Customer and Revenue. Remove cancelled orders and rows without a customer first, or read the section on what the split hides before you decide.
- Total by customer. In Excel for Microsoft 365, one formula groups, sums and sorts: . The sorts by the second column, the totals, in descending order, and the before it removes the grand total row Microsoft Support. In older versions, use a pivot table with Customer in Rows and Revenue in Values, then sort the values from largest to smallest.
- Running share. With the customers in A2 down and the totals in B2 down, type in C2 and fill down. Format the column as a percentage. The first stays fixed and the end of the range moves, which gives a running total. How to calculate a running total in Excel covers the variants.
- Find the cut. counts the customers inside the first 80%. Divide it by to get them as a share of all customers.
In a pivot table, the running share needs no formula. Add Revenue to Values a second time, right-click it, and choose Show Values As% Running Total In with Customer as the base field Microsoft Support. Sort the first Revenue column from largest to smallest before you read it.
Each customer's own share of the total is the same total divided by the grand total, without the running sum. Percentage of total in Excel shows that column and the PERCENTOF function.
How do you classify customers into A, B and C?
Read the running share and give each row a class: A up to 80% of revenue, B up to 95%, C for the rest. In D2, returns the class, and the TRUE at the end catches every remaining row Microsoft Support.
The 80/95 thresholds are a convention, not a standard. Some teams use 70/90, or class products by units sold instead of revenue. Pick the thresholds once and keep them, so the classes compare from one year to the next.
Count each class with , and its revenue with . Put the threshold values in cells rather than in the formula if people will want to test 70% against 80%.
How do you make a Pareto chart in Excel?
Select the customer and revenue columns, then choose InsertInsert Statistic ChartPareto. Excel sorts the columns in descending order and draws a line for the cumulative percentage. The chart exists in Excel 2016 and later Microsoft Support.
Two limits show up at once on real data:
- Too many bars. Thousands of customers make a chart nobody can read. Chart the top 20 or 30 customers, or chart the three classes with their revenue.
- No 80% line. The built-in chart has no reference line at 80% and no gridlines on the percentage axis, so it's hard to see where the line crosses. CPA Australia builds a column and line combo chart instead, with the cumulative share on the secondary axis INTHEBLACK.
For the combo chart, select the customer, revenue and running share columns, choose InsertRecommended ChartsAll ChartsCombo, and put the running share on the secondary axis as a line. Add a fourth column filled with 0.8 to draw the 80% line.
What does a real sales export show?
On one year of a UK online gift retailer, 26.7% of customers brought 80% of revenue, and 21.4% of products did the same. The split is close to 80/20, but not exact. The data is Online Retail II, a public dataset whose customers are often wholesalers UCI Machine Learning Repository.
We kept December 2010 to November 2011, removed cancellations, duplicate lines, lines without a customer ID and lines with a zero or negative quantity or price. That leaves 17,754 orders from 4,297 customers and 3,657 products, for £8,370,018 of revenue. We computed every figure here with our own code.
26.7% of customers, 1,147 of 4,297, brought 80% of the year's revenue.
| Customers in the class | Share of customers | Share of revenue | |
|---|---|---|---|
| A, first 80% | 1,147 | 26.7% | 80.0% |
| B, next 15% | 1,458 | 33.9% | 15.0% |
| C, last 5% | 1,692 | 39.4% | 5.0% |
The top is steeper than the 80/20 label suggests. The 43 largest customers, 1% of the list, brought 30.8% of revenue. The bottom half of customers brought 8.0% together. The median A customer placed 7 orders in the year, the median C customer 1.
Products split more sharply at the bottom. The A class holds 784 products, 21.4% of the catalogue. The C class holds 1,954 products, 53.4% of it, for 5.0% of revenue.
What does the 80/20 split hide?
It hides orders that didn't stick, customers who bought once, and the choice of period. Each one can move a customer into class A who doesn't belong there, so check the top of the list by hand before anyone acts on it.
Cancellations. The ninth-largest customer of the year by gross revenue placed one order, 74,215 units for £77,184, and cancelled it 16 minutes later. Ranked on orders alone, it sits in the top 10. Ranked on net revenue, it brought nothing. Over the year, cancellations came to £433,038, or 5.2% of gross revenue. Ranked on revenue net of cancellations, 21 of the 1,147 A customers drop out of class A.
One-off orders. 35 of the A customers placed a single order in the year. A large one-off order is real revenue, but it doesn't tell you the customer will come back. Add the number of orders next to the class, on an export with one row per order, and look at single-order A customers apart.
The window. A Pareto analysis on one month swings with a few big orders. A full year is steadier. Compare the classes with the year before to see who moved, and with customer lifetime value to see what a new customer is worth over time.
Revenue or margin. A customer who buys only discounted items can rank high on revenue and low on profit. If the export has cost or margin per line, run the same steps on margin.
Where does Glow Reports fit?
The steps above take a few formulas on one export. They take longer when the question changes: the same split by country, on margin, net of cancellations, or this year against last.
With Glow Reports, you upload the order export as CSV or Excel and ask for the Pareto analysis of customers with A, B and C classes, net of cancellations. The AI writes the SQL, builds the charts and drafts the text. The SQL sits under each figure, so you can check what counts as revenue and which orders were left out, and edit it. Reports export to PDF and stay in the workspace. The free plan gives 300 credits once, and a report costs 100 credits.
Common questions
Is the Pareto split always 80/20?
No. 80/20 is a rule of thumb. On the retailer data above it was 80/27 for customers and 80/21 for products. Report the split you find, not the one you expect.
What is the difference between a Pareto analysis and an ABC analysis?
A Pareto analysis ranks items and shows the cumulative share. An ABC analysis uses that cumulative share to put each item in a class, usually A up to 80%, B up to 95% and C for the rest. ABC is common in inventory, where A items get the closest stock control.
Should I rank customers by revenue or by profit?
By profit when you have it, because revenue can rank a heavy discounter at the top. Start with revenue net of cancellations and returns if the export has no cost per line.
Why doesn't my Pareto chart show an 80% line?
Excel's built-in Pareto chart doesn't draw one. Build a combo chart with the running share as a line on the secondary axis, and add a constant column of 0.8 as a second line.
How often should I redo the analysis?
Once a quarter or once a year is enough for most sales teams, on a full 12-month window. Keep the same thresholds each time so you can see which customers moved between classes.
I am a product engineer and the founder of Glow Reports. I spent more than 6 years building products in tech, data and cybersecurity, for large groups, startups and SMEs. In most organizations I saw data treated as a technical topic, when it drives business decisions. I built the reporting tool I was looking for, so the people who run small and mid-sized organizations can read their own numbers without a data team.
More from El Mehdi BenaneUpload your order export to Glow Reports and ask for the Pareto analysis of your customers, net of cancellations, with the SQL behind each figure.


