Case 2: ABC customer analysis

Which customers carry the revenue, and where would one visit fewer do no harm? An ABC analysis answers that in a single table. You build it so the customer list can stay unsorted and every new invoice shows up straight away.

In short: the cumulative share without sorting is =SUMIF($B$2:$B$9,">="&B2)/SUM($B$2:$B$9). For each customer it counts that customer plus everyone with more revenue. A nested IF then assigns the class using the limits from a settings sheet.

The situation

The head of sales is preparing next year's plan. She wants to know which customers are class A and will get a key account manager, which are B, and which C customers can be served by inside sales or a web shop. The list is due on Friday and has to work again next year with new figures. For the meeting you also need one page with the five largest customers.

The workbook

  • Sales: invoice totals from accounting with customer number, year and net amount, unsorted and mixed from two years.
  • Settings: limit A (80%), limit B (95%) and the year to analyse. These limits are a convention, not a standard; many companies use 80/95 or 70/90.
  • ABC: the customer list in customer number order. Revenue, share, cumulative share and class are built here.
  • Summary (task 2): the top 5 and the totals per class.

Task 1: Work out the classes

Task Before annual planning, the head of sales wants to know which customers carry the revenue. In B2, get the revenue of K-1001 for the year in Settings!B3 from the Sales sheet, in C2 its share of total revenue, and in D2 the cumulative share: all customers with at least as much revenue, divided by total revenue. In E2, assign the class: A up to limit A, B up to limit B, otherwise C. All four formulas are filled down to row 9. The list is not sorted and should stay that way.

ABCDEF
1 Customer Revenue Share Cumulative Class
2 K-1001
3 K-1002
4 K-1003
5 K-1004
6 K-1005
7 K-1006
8 K-1007
9 K-1008
10
11

Step by step

Revenue: =SUMIFS(Sales!$C$2:$C$17,Sales!$A$2:$A$17,$A2,Sales!$B$2:$B$17,Settings!$B$3). The year comes from the settings sheet, so next year you analyse 2027 by changing one cell.

Share: =B2/SUM($B$2:$B$9). The denominator must be fixed, or the last row ends up dividing by itself.

Cumulative share: the textbook way is to sort by revenue, largest first, and add up from the top. That destroys the order and has to be redone after every change. SUMIF($B$2:$B$9,">="&B2) adds every revenue at least as large as this one, which is exactly the running total that row would show in a sorted list.

Class: =IF(D2<=Settings!$B$1,"A",IF(D2<=Settings!$B$2,"B","C")). Anyone up to 80% cumulative is A. The customer who crosses 80% becomes B here; some companies still count that one as A. What matters is that the rule is agreed and applied the same way everywhere.

Task 2: Top customers and class summary

Task For the key account meeting you need one page with the five largest customers and the split across the classes. The ABC sheet is already classified but sorted by customer number. In B2, get the revenue at rank A2, in C2 the matching customer name and in D2 the share of total revenue, all filled down to row 6. In G2, count the customers in the class in F2, in H2 add up their revenue and in I2 work out the class's share of revenue, filled down to row 4.

ABCDEFGHIJ
1 Rank Revenue Customer Share Class Customers Revenue Revenue share
2 1 A
3 2 B
4 3 C
5 4
6 5
7
8

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

Step by step

LARGE returns the k-th largest value: =LARGE(ABC!$C$2:$C$11,$A2) with the rank from column A. INDEX with MATCH fetches the name: =INDEX(ABC!$B$2:$B$11,MATCH(B2,ABC!$C$2:$C$11,0)). MATCH finds the row with that revenue and INDEX reads the name there. The class summary counts with COUNTIF, totals with SUMIF and divides by the total of the three classes.

Common mistakes

Criterion without joining

">=B2" looks for revenue greater than or equal to the text B2 and finds nothing. The value has to be joined on with &.

MATCH without 0

Without 0 as the third argument, MATCH searches approximately and assumes a list sorted in ascending order. In an unsorted list it quietly returns the wrong name.

Equal revenue

If two customers have exactly the same revenue, both get the same cumulative share, and MATCH finds the first one twice in the top list. With real invoice amounts that is rare. If it happens, a helper column with a unique rank fixes it.

Last year counted in

Without the year criterion, K-1006 suddenly moves into class B because of one large order from 2025. The ABC class should show the current picture.

Check your result

  • Task 1: total revenue for 2026 is 486,900. Class A is K-1003 (176,400, cumulative 36.2%) and K-1007 (cumulative 63.3%). K-1001 with 88,250 reaches 81.4% cumulative and is therefore B, as are K-1005 and K-1002. K-1008, K-1004 and K-1006 are C. For the largest customer, share and cumulative share are equal; for the smallest, the cumulative share is exactly 100%.
  • Task 2: number 1 is Fletcher Construction with 118,500 (29.7%), number 5 Walsh Property with 31,400. Class A: 4 customers with 316,800 (79.4%), B: 2 customers, C: 4 customers with 28,800. The three shares add up to 100%.

The functions in German Excel

EnglishGerman
SUMIFS, SUMIFSUMMEWENNS, SUMMEWENN
IFWENN
LARGEKGRÖSSTE
INDEX, MATCHINDEX, VERGLEICH
COUNTIFZÄHLENWENN

Every function in this case is available in all current versions of Excel. With Microsoft 365 or Excel 2021 you could also build the top list with SORT and FILTER, which you practised in the main course.

FAQ

Classify by revenue or by gross profit?

Both are common. Revenue is quicker to get; gross profit shows who really makes money. The formulas are the same, only the value column changes.

Where do I keep customer master data?

A simple customer list with a revenue summary is available as the customer list template. You can add the ABC class there as an extra column.

Next: case 3, weighted pipeline

You weight open deals by stage and turn them into a forecast by rep and month.

Go to case 3 Course overview

Write to us

Choose language

Select your preferred language