Calculate line totals with multiplication
Multiply quantity by unit price to get a line total.
Real situations from working spreadsheets — sales targets, commission tiers, messy exports, aged invoices. Numbered in recommended order: start at 1 and work down, or filter to what you need.
19 exercises — for Sales
Multiply quantity by unit price to get a line total.
Add up a column of daily sales figures to get the monthly total.
SUM
Subtract cost from revenue to find what each order actually earned.
Work out what a customer pays after their contracted discount.
Divide actual sales by target to get an achievement percentage.
Calculate the mean value of a set of customer orders.
AVERAGE
Take the trailing two-letter state abbreviation off the end of a territory code.
RIGHT
Identify the extremes in a column of values.
MAX · MIN
Use the median to describe a set of orders that one huge deal has skewed.
MEDIAN
Use IF to label each rep as meeting or missing their target.
IF
Add up only the rows matching a text condition.
SUMIF
Return one of three labels depending on where a value falls.
IF
Return the right rate from several tiers without nesting.
IFS
Build a conditional average out of a conditional sum and a conditional count.
SUMIF · COUNTIF
Match a customer ID against a reference table to return their region.
XLOOKUP
Sum the orders that beat the average, without typing the average in yourself.
SUMIF · AVERAGE
Apply two conditions at once to a conditional sum.
SUMIFS
Use VLOOKUP with exact match to pull prices from a product table.
VLOOKUP
Combine ranking with a lookup to return a name, not just a number.
LARGE · INDEX · MATCH
| # | Exercise | Functions | Difficulty | Time | Status |
|---|---|---|---|---|---|
| 5 | Calculate line totals with multiplicationHarbor Supply — order ORD-1046 lines | — | Beginner | 3 min | 10 pts |
| 13 | Total a month of sales with SUMHarbor Supply — daily sales, first week of October | SUM | Beginner | 3 min | 10 pts |
| 17 | Work out gross margin per orderHarbor Supply — order profitability | — | Beginner | 3 min | 10 pts |
| 19 | Apply a percentage discount to a list priceHarbor Supply — contracted distributor pricing | — | Beginner | 5 min | 15 pts |
| 21 | Calculate achievement against targetHarbor Supply — Q3 rep performance | — | Beginner | 3 min | 10 pts |
| 23 | Find the average order value with AVERAGEHarbor Supply — October orders | AVERAGE | Beginner | 3 min | 10 pts |
| 25 | Pull a state code out of a territory with RIGHTHarbor Supply — CRM territory codes | RIGHT | Beginner | 4 min | 10 pts |
| 28 | Find the largest and smallest orderHarbor Supply — October orders | MAX · MIN | Beginner | 4 min | 10 pts |
| 29 | Find the typical order size with MEDIANHarbor Supply — October orders, one outlier | MEDIAN | Beginner | 5 min | 15 pts |
| 30 | Flag reps below target with IFHarbor Supply — Q3 rep performance with achievement | IF | Beginner | 5 min | 15 pts |
| 33 | Total sales for one region with SUMIFHarbor Supply — October orders by region | SUMIF | Beginner | 6 min | 15 pts |
| 45 | Band orders by size with nested IFHarbor Supply — October orders | IF | Intermediate | 9 min | 25 pts |
| 50 | Apply commission tiers with IFSHarbor Supply — Q3 sales by rep | IFS | Intermediate | 10 min | 25 pts |
| 51 | Average one region without AVERAGEIFHarbor Supply — orders by region | SUMIF · COUNTIF | Intermediate | 9 min | 30 pts |
| 57 | Look up a customer's region with XLOOKUPHarbor Supply — orders plus a customer reference table | XLOOKUP | Intermediate | 8 min | 25 pts |
| 60 | Total only the orders above averageHarbor Supply — October order values | SUMIF · AVERAGE | Intermediate | 8 min | 25 pts |
| 62 | Total sales for a region and month with SUMIFSHarbor Supply — orders across regions and months | SUMIFS | Intermediate | 9 min | 25 pts |
| 63 | Look up a unit price with VLOOKUPHarbor Supply — quote lines and product master | VLOOKUP | Intermediate | 8 min | 25 pts |
| 80 | Name the second-best rep with LARGE and INDEXHarbor Supply — Q3 sales by rep, unsorted | LARGE · INDEX · MATCH | Advanced | 14 min | 40 pts |