Case 4: Volume discounts and margin check

Discounts by customer group and order quantity sit in a grid in almost every sales team. In this case you pull the right discount with a formula, price the quote and check that every line meets the margin floor set by management.

In short: the discount is =INDEX(DiscountGrid,MATCH($B$1,Groups,0),MATCH(B4,QtyBreaks,1)): the row matched exactly by customer group, the column approximately by quantity. The floor price for a target margin is unit cost divided by (1 - margin floor).

The situation

A reseller has asked for five items in different quantities, and the quote has to go out today. Product management maintains the price list and the discount grid, and you should not retype any of it. Before the quote is sent, you check the margin: management has set a minimum margin on the net price, and any line below it needs sign-off from the sales manager.

The workbook

  • Prices: item number, description, list price and unit cost, not sorted by number.
  • Discounts: the grid with the customer groups Standard, Reseller and Key account in the rows and the quantity breaks from 1, 10, 50 and 100 units in the columns.
  • Quote: the customer group in B1 and the lines with item number and quantity below.
  • Check (task 2): the negotiated net prices, the margin floor in B1 and the analysis below.

Task 1: Quote with a discount grid

This workbook uses defined names. A name stands for a fixed range and makes formulas readable: DiscountGrid instead of Discounts!$B$2:$E$4. In Excel you create one under Formulas, Define Name, or select the range and type the name into the Name Box to the left of the formula bar.

Task A reseller has asked for five items, and the quote has to go out today. The workbook has four defined names: PriceList (Prices!A2:D9), DiscountGrid (Discounts!B2:E4), Groups (Discounts!A2:A4) and QtyBreaks (Discounts!B1:E1). In C4, get the list price, in D4 the discount from the grid for the customer group in B1 and the quantity in B4, in E4 the net price rounded to the cent, and in F4 the line amount. All four formulas are filled down to row 8, and F9 is the total. Use the names instead of cell ranges.

ABCDEFG
1 Customer group Reseller
2
3 Item no. Qty List price Discount Net price Amount
4 A-131 4
5 A-118 12
6 A-109 60
7 A-112 150
8 A-104 10
9 Net total
10
11

Step by step

List price: =VLOOKUP(A4,PriceList,3,FALSE).

Discount: INDEX reads the value where a row and a column of the grid meet. MATCH($B$1,Groups,0) supplies the row number with an exact match. MATCH(B4,QtyBreaks,1) supplies the column number: with 1, MATCH finds the largest break that is not above the quantity. 60 units fall into the break from 50, and exactly 10 units already get the break from 10. For this the breaks must be in ascending order.

Net price: =ROUND(C4*(1-D4),2). Rounding per unit means the unit price on the quote is exactly the one the amount is built from. Amount: =B4*E4, with the total below.

Task 2: Check the margin

Task Before the quote goes out, you check the margin. Management sets a margin floor on the net price (B1); anything below it needs approval. In D4, get the unit cost from the Prices sheet, in E4 work out the margin, in F4 show "approval" if it is below B1, otherwise "ok", and in G4 the lowest net price that still meets the floor, rounded up to the cent. All down to row 8. In B10, count the lines that need approval, and in B11 work out the margin of the whole quote, weighted by quantity.

ABCDEFGH
1 Margin floor 0.3
2
3 Item no. Qty Net price Unit cost Margin Status Floor price
4 A-140 6 629.16
5 A-118 12 254.32
6 A-125 20 199
7 A-131 8 161.1
8 A-109 40 79.11
9
10 Approvals
11 Total margin
12
13

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

Margin: =(C4-D4)/C4. It is measured on the selling price. Markup on cost is a different number and does not belong in this check.

Status: =IF(E4<$B$1,"approval","ok").

Floor price: from margin = (price - cost) / price it follows that price = cost / (1 - margin). =ROUNDUP(D4/(1-$B$1),2) rounds up so the price never misses the floor by a fraction of a cent.

Total margin: =SUMPRODUCT(B4:B8,C4:C8-D4:D8)/SUMPRODUCT(B4:B8,C4:C8). SUMPRODUCT multiplies row by row and adds up: gross profit of the quote on top, revenue below. B10 counts the approvals with COUNTIF.

Common mistakes

Matching the quantity exactly

With 0 instead of 1 in the second MATCH, only exactly 1, 10, 50 or 100 units get a discount, and 12 units return #N/A.

Customer group without $

Filled down, B1 turns into B2, B3 and so on. B2 is empty, so MATCH finds no group.

Mixing up margin and markup

A 30% markup on a cost of 100 gives 130, but that is only a 23.1% margin. Pricing at cost times 1.3 falls short of a 30% margin floor.

Averaging the percentages

The plain average of the five margins is 30.8% and looks fine. Weighted by revenue it is only 29.5%, because the sit-stand desk with its thin margin brings in a lot of revenue.

Check your result

  • Task 1: discounts of 5%, 8%, 12%, 15% and 8%. Net prices 170.05, 265.88, 79.11, 54.74 and 413.08. Quote total 20,959.16.
  • Task 2: two lines need approval, the sit-stand desk (22.2%) and the acoustic screen (23.5%). Their floor prices are 699.43 and 217.58. Total margin 29.5%.
  • A check on the floor price: (699.43 - 489.60) / 699.43 comes out just above 30%.

The functions in German Excel

EnglishGerman
VLOOKUPSVERWEIS
INDEX, MATCHINDEX, VERGLEICH
ROUND, ROUNDUPRUNDEN, AUFRUNDEN
IF, COUNTIFWENN, ZÄHLENWENN
SUMPRODUCTSUMMENPRODUKT

Every function in this case is available in all current versions of Excel. Names work the same in every language version; only the function names around them change.

FAQ

Should I round per unit or per line?

Both happen. What matters is that the quote shows the unit price that was actually used. Otherwise quantity times the price shown does not equal the amount shown.

Where do I build the pricing from scratch?

From unit cost to list price with overhead and markup is covered in the pricing calculator, and the finished document for the customer in the quote template.

Next: case 5, target vs actual by territory

You compare actual with target per rep and territory, show gaps and rank, and roll the regions up with a RAG status.

Go to case 5 Course overview

Write to us

Choose language

Select your preferred language