Cash Flow Inventory
Menu
Blog

ABC Analysis Excel Template: Rank Your Products in 10 Minutes

Paste units sold and unit cost into this free ABC analysis Excel template and get every product's share, cumulative share and A, B or C class without sorting. A worked kitchenware example shows what to do with each class.

Spreadsheet ranking twelve kitchenware products into A, B and C classes by annual value and cumulative share
On this page
  1. Key takeaways
  2. What the ABC analysis Excel template calculates
  3. Input columns
  4. Calculated columns
  5. Worked example: ranking a kitchenware shop’s products
  6. How to run the ABC analysis template step by step
  7. What to do with A, B and C items
  8. A items: protect the money and the sales
  9. B items: steady, rule-based control
  10. C items: keep it simple and cheap
  11. Common ABC analysis mistakes in Excel
  12. Edge cases the basic ABC method skips
  13. The product that crosses the cut-off
  14. Ties
  15. New products
  16. Critical but cheap items
  17. Erratic demand
  18. Negative or zero values
  19. How to do this in Cash Flow Inventory
  20. Frequently asked questions
  21. How do I do ABC analysis in Excel without sorting?
  22. What percentages are used for A, B and C classes?
  23. Should ABC analysis use cost or selling price?
  24. How often should I redo ABC analysis?
  25. Can I do ABC analysis in Google Sheets?
  26. Is ABC analysis worth it for a small catalogue?

An ABC analysis Excel template ranks your products by annual value, which is units sold multiplied by unit cost. It then labels the products that make up roughly the first 80% of that value as A, the next 15% as B and the remainder as C. You paste two columns from your sales data, and the formulas calculate each product’s share, cumulative share and class without any manual sorting.

On this page you get the downloadable template and every formula explained, so you can rebuild it yourself. You also get a fully worked example for a 12-product kitchenware shop, clear rules for what to do with each class, and the mistakes and edge cases that a one-line answer will not warn you about.

Free download: ABC analysis Excel template

An Excel file (.xlsx, 12 KB) with the formulas already in place and the example from this guide filled in. It opens in Excel, Google Sheets (File › Import), Numbers and LibreOffice. No sign-up needed.

Download the spreadsheet

Email me this template + the next 4 guides on stock control and counting

Optional: the download above is free and needs no e-mail.

Optional. Before any news, we e-mail you once to confirm.

We use your e-mail only for what you ask here. Privacy notice

Key takeaways

  • ABC analysis needs only two inputs per product: units sold over a period (usually 12 months) and unit cost.
  • The template uses SUMIF to calculate cumulative share, so you never have to sort the list before the classes come out right.
  • The 80% and 95% cut-offs are a convention, not a law. They sit on a Settings sheet, so you can change them in one place.
  • A items get tight control and frequent counts. C items get simple rules and occasional attention. Low value is not the same as unimportant.
  • Rerun the analysis every quarter. Classes drift as seasons, prices and product ranges change.

What the ABC analysis Excel template calculates

ABC analysis applies the Pareto idea to stock: a small number of products usually carries most of the money. If you want the theory first, our complete guide to ABC inventory classification covers it. The ABC analysis entry on Wikipedia gives the standard definition. This page is about doing it quickly and correctly in a spreadsheet.

The main sheet, ABC Analysis, has ten columns. You type or paste into the first four, and the remaining six are formulas.

Input columns

ABC Analysis sheet

Columns of the ABC Analysis sheet: header, what it holds, the example in row 2 and the formula
Col Header What it holds Example row 2 Formula row 2
A, B SKU and Product Your code and name. A KW-001
B Non-stick frying pan 28 cm
—
C Units sold (12 months) Total quantity sold or used in the period. 1,200 —
D Unit cost What one unit costs you, ideally including freight and duty. 18.50 —

Download the spreadsheet.xlsx, 12 KB · formulas and the worked example filled in · Excel, Google Sheets, Numbers, LibreOffice

Calculated columns

ABC Analysis sheet

Columns of the ABC Analysis sheet: header, what it holds, the example in row 2 and the formula
Col Header What it holds Example row 2 Formula row 2
E Annual value Annual value = units sold × unit cost. In cell E2 this is: 22,200 =C2*D2
F Share of value Share of value = annual value ÷ total annual value of all SKUs. In F2 this is: 22.2% =IFERROR(E2/SUM($E$2:$E$13),0)
G Cumulative share Cumulative share = sum of all annual values greater than or equal to this SKU's ÷ total annual value. In G2 this is the formula. This is the column that removes the need to sort. Instead of adding up the rows above, it adds up every product worth at least as much as this one, so the answer is the same wherever the row sits. Microsoft’s SUMIF function reference explains the criteria syntax if you want to adapt it. 22.2% =IFERROR(SUMIF($E$2:$E$13,">="&E2)/SUM($E$2:$E$13),0)
H Rank H2 holds the rank. This counts how many products are worth more than this one and adds one. See the COUNTIF function reference for the details. 1 =COUNTIF($E$2:$E$13,">"&E2)+1
I Class I2 holds the class. The cut-offs live on the Settings sheet as 80% and 95%. A =IF(G2<='Settings'!$B$2,"A",IF(G2<='Settings'!$B$3,"B","C"))
J Suggested action J2 holds the suggested action. This pulls the policy for that class from the Class actions sheet. That sheet also counts the SKUs and totals the value in each class, so you see the summary without building a pivot table. Count monthly, review reorder point and safety stock monthly, negotiate price and lead time, avoid stock-outs =IFERROR(VLOOKUP(I2,'Class actions'!$A$2:$B$4,2,FALSE),"")

Filling down: each formula is shown for the first row of data. Copy it down the column and the spreadsheet moves the row numbers for you (B2 becomes B3, B4 …); references with $ signs stay fixed.

Worked example: ranking a kitchenware shop’s products

Example: a shop selling kitchenware (hypothetical) with 12 active SKUs. The figures are 12 months of units sold and current unit cost, in the shop’s own currency. Total annual value comes to exactly 100,000, which keeps the percentages easy to check.

Rank Product Units sold Unit cost Annual value Share Cumulative share Class
1 Non-stick frying pan 28 cm 1,200 18.50 22,200 22.20% 22.20% A
2 Stainless cookware set, 5 pieces 300 62.00 18,600 18.60% 40.80% A
3 Pressure cooker 5 L 400 38.00 15,200 15.20% 56.00% A
4 Chef’s knife 20 cm 900 14.00 12,600 12.60% 68.60% A
5 Electric kettle 1.7 L 450 21.00 9,450 9.45% 78.05% A
6 Glass storage container set 800 6.50 5,200 5.20% 83.25% B
7 Bamboo cutting board 1,000 4.20 4,200 4.20% 87.45% B
8 Measuring cup set 1,100 3.00 3,300 3.30% 90.75% B
9 Silicone spatula 2,400 1.25 3,000 3.00% 93.75% B
10 Dish towels, pack of 3 1,300 2.00 2,600 2.60% 96.35% C
11 Garlic press 380 5.00 1,900 1.90% 98.25% C
12 Pressure cooker gasket (spare) 875 2.00 1,750 1.75% 100.00% C
Total 11,105 100,000 100.00%

The Class actions sheet summarises it like this:

Class SKUs Share of SKUs Annual value Share of value
A 5 41.7% 78,050 78.05%
B 4 33.3% 15,700 15.70%
C 3 25.0% 6,250 6.25%
Total 12 100% 100,000 100%

Three lessons sit in this small table. First, with only 12 SKUs, five products land in A. Small catalogues rarely show a neat “20% of items, 80% of value” pattern, and that is fine.

Second, look at the silicone spatula. It sold the most units (2,400) yet sits ninth by value. If you ranked by units, it would wrongly look like your most important product.

Third, the pressure cooker gasket is C by value. A customer whose cooker will not seal still needs that gasket today, which is why ABC on its own is never the whole story. The edge cases below deal with this.

How to run the ABC analysis template step by step

  1. Export 12 months of sales by product from your system: SKU, product name and quantity sold. For a manufacturer, use quantity consumed for raw materials.
  2. Export or look up the current unit cost for each SKU. Use landed cost if you import.
  3. Paste SKU, product, units and cost into columns A to D of the ABC Analysis sheet, starting at row 2.
  4. If you have more than 12 products, insert new rows above the last example row and copy the formulas down. Inserting inside the range makes the $E$2:$E$13 references grow automatically. Rows added below the range are left out.
  5. Delete any leftover example rows you did not overwrite, and check that the last cumulative share reads 100%.
  6. Open the Settings sheet and confirm the cut-offs. Keep 80% and 95% unless you have a reason to change them.
  7. Read the Class actions sheet for the summary. Then apply the policies below, starting with your A items.
  8. Save a dated copy, such as “ABC 2026-Q4”, so next quarter you can see which products changed class.

The first run usually takes about ten minutes once your export is ready. Most of that time goes on cleaning SKU codes, not on the spreadsheet itself.

What to do with A, B and C items

A class label is only useful if it changes what you do on Monday morning. These rules are a sensible starting point for a small or mid-sized business. The template’s Class actions sheet holds a short version of each, so you can edit the wording to match your own policy.

A items: protect the money and the sales

  • Count them monthly, or weekly if they are small and easy to steal. Use a stock count sheet with a variance calculator.
  • Review reorder points and safety stock at least monthly. The reorder point spreadsheet calculates both for every SKU at once.
  • Negotiate price, lead time and payment terms with these suppliers first. A small improvement here moves your whole cost base.
  • Keep a second supplier qualified for each A item where you can.
  • Store them in your best-controlled, most accessible location.

B items: steady, rule-based control

  • Count quarterly.
  • Review reorder points quarterly, using standard safety stock.
  • Watch for products moving up into A. That is often an early sign of a new best-seller.

C items: keep it simple and cheap

  • Count once or twice a year, or use cycle counts.
  • Order in larger, less frequent batches, or order only against customer demand.
  • Review each C item once a year: keep it, bundle it, mark it down or drop it. Our guide to retail markdown strategies helps with the slow ones.
  • Before cutting a C item, check whether it is critical or keeps customers coming back.

Expert tip: Put the class in your product names or categories as a tag, for example “A – Cookware”. Your staff will see it on every screen and count sheet, without needing to open the spreadsheet.

Common ABC analysis mistakes in Excel

  • Ranking by units instead of value. The spatula in the example shows why. Units tell you about handling effort, not money.
  • Using selling price without saying so. Revenue-based ABC is valid. If you want it, replace column D with unit price and label it clearly, because mixing cost and price makes the classes meaningless.
  • Sorting only some of the columns. This is the classic manual-Excel disaster: you sort column E and leave the names behind. The SUMIF method avoids sorting altogether. If you do sort, select the whole table first.
  • Using too short a period. One month exaggerates promotions and stock-outs. Use 12 months, or the last full season for seasonal ranges.
  • Leaving discontinued products in. They dilute the totals and push active products into higher classes than they deserve. Remove them before you paste.
  • Treating the analysis as a one-off. Classes go stale. A quarterly rerun takes minutes once your export is set up.
  • Forgetting rows outside the formula range. If the last cumulative share is not 100%, some rows are outside $E$2:$E$13.

Edge cases the basic ABC method skips

The product that crosses the cut-off

In the example, the glass storage set takes the cumulative share from 78.05% to 83.25%. With the template’s “cumulative share at or below 80%” rule it becomes B. Some planners prefer to include the item that crosses the line in A, using the cumulative share before it is added. Neither rule is wrong. Pick one, write it down, and keep it the same each quarter so changes in class mean something.

Ties

Two products with identical annual value get the same rank and the same cumulative share. That happens because SUMIF with “greater than or equal” counts both together. On a real list this is rare and harmless, but it explains a skipped rank number.

New products

A product launched two months ago has two months of sales against everyone else’s twelve, so it will look like a C. Annualise its sales by dividing by the months on sale and multiplying by 12, or mark it as “new” and classify it manually. Forecasting is covered in our guide to forecasting demand for new products.

Critical but cheap items

Spare parts, packaging and components that stop production all fall into this category. Combine ABC with VED analysis (vital, essential, desirable) so a C-and-vital item, like the gasket, still gets safety stock.

Erratic demand

Two A items can need very different stock policies if one sells steadily and the other in spikes. Pair ABC with XYZ analysis to measure demand variability, and with FSN analysis to separate fast, slow and non-moving lines.

Negative or zero values

Returns can make net units negative, and a zero cost produces a zero value. Correct negatives to zero, or exclude them, before you paste. A negative value distorts every cumulative share.

How to do this in Cash Flow Inventory

Cash Flow Inventory keeps every receipt, sale, transfer, production run, adjustment and count as a movement in one log. The stock and value figures on each product are therefore the sum of what really happened, and the data you export for ABC is consistent. Here is a practical routine.

  1. Get sales by product. Open Reports and type what you want in the search, for example “sales by product last year”. The best matching report opens with its filters already set. Choose the period and location, then use Excel to download it.
  2. Get costs. Each variant carries its own cost in Inventory › Products. On the Items tab you can sort by stock, stock value or price. The Variants tab gives one row per size or colour if you classify at variant level.
  3. Paste and classify. Drop units and cost into the template. Your classes come out in seconds.
  4. Check where money is tied up now. Sort the Items tab by stock value. ABC tells you what moves the most value through the business. Stock value tells you where cash is sitting today. An A item with low stock and a C item with high stock both need action.
  5. Act on the classes. Use the Restock tab to see what is low or out. From any row’s menu, choose New purchase order for A items that need topping up, or Adjust stock after a count.
  6. Make the rerun automatic. Save the report so its filters are kept in Saved reports. Use Schedule to have it e-mailed monthly with a relative period such as “last month”, so each run stays current. Add a note on any line that needs explaining, such as a one-off bulk order.

If some staff should not see costs, field rights hide cost and margin from them. Their exported reports come without those figures, so run the ABC export from an account that can see costs. Full details are in the Reports guide and the Products and inventory guide.

Ready to build your own? Download the file below and paste your first export.

Free download: ABC analysis Excel template

An Excel file (.xlsx, 12 KB) with the formulas already in place and the example from this guide filled in. It opens in Excel, Google Sheets (File › Import), Numbers and LibreOffice. No sign-up needed.

Download the spreadsheet

Email me this template + the next 4 guides on stock control and counting

Optional: the download above is free and needs no e-mail.

Optional. Before any news, we e-mail you once to confirm.

We use your e-mail only for what you ask here. Privacy notice

Frequently asked questions

How do I do ABC analysis in Excel without sorting?

Calculate cumulative share with SUMIF instead of a running total: =SUMIF(value range,">="&this value)/SUM(value range). Each row adds up every product worth at least as much as itself, so the result does not depend on row order. Then classify with a nested IF against your cut-offs.

What percentages are used for A, B and C classes?

The common convention is A up to 80% of cumulative value, B from 80% to 95%, and C for the final 5%. Some businesses use 70/90 or 75/95 instead. Choose cut-offs that give you an A list small enough to manage closely, then keep them consistent.

Should ABC analysis use cost or selling price?

Classic inventory ABC uses annual consumption value at cost, because it reflects the money tied up in buying stock. Revenue-based or gross-profit-based ABC is useful for sales and range decisions. The template works for either, as long as you change column D consistently and label it.

How often should I redo ABC analysis?

Quarterly suits most small and mid-sized product businesses, with an extra run before peak season. Compare each run with the previous one. The products that changed class are often the most useful thing the analysis tells you.

Can I do ABC analysis in Google Sheets?

Yes. SUMIF, COUNTIF, IF and VLOOKUP behave the same way in Google Sheets, so the downloaded file works after you upload it. If you rebuild it by hand, check that the cross-sheet references such as 'Settings'!$B$2 keep their quotation marks.

Is ABC analysis worth it for a small catalogue?

Even with 12 to 30 products it quickly shows where your attention and cash should go, as the kitchenware example demonstrates. With very few SKUs the class split will look uneven, so lean more on the ranking itself than on hitting textbook percentages.

A spreadsheet is a good place to start, and the template will serve you for a long time. When re-exporting and pasting every quarter starts to feel like a chore, keep your sales, costs and stock in one place, with reports you can schedule. You can start a free trial of Cash Flow Inventory and run your next ABC analysis from live data.

Mohammad Ali

Led by Mohammad Ali (15+ years in inventory management software), the Cash Flow Inventory Content Team empowers SMBs with clear financial strategies. We translate complex financial concepts into clear, actionable strategies through a rigorous editorial process. Our goal is to be your trusted resource for navigating SMB finance.

About the team