Level 2 project: a sales report by region

To finish Level 2 you analyze one month of orders: who earns a bonus, which region leads, and how much came from new customers? Which function goes where is up to you.

You need: IF, RANK, SUMIF, COUNTIF, IFS or a nested IF, SUMIFS and MAXIFS. You have practised each of them on its own in Level 2.

The situation

The sales manager gets a list of eight orders: rep, region, sales and whether it was a new customer. The rules are on the right: the sales threshold for a bonus, the bonus rate, and the regional sales needed for tiers A and B. From this you build a report:

  • per order: bonus and rank by sales,
  • per region: sales, number of orders and tier A, B or C,
  • two targeted questions: sales of region North from new customers, and the largest order of region South.

The project

You fill the yellow cells. Where a whole range is yellow, you only write the first formula; the rest fills down.

Task A monthly sales report. E2: bonus per order, sales times the rate in H2 if sales reach at least the threshold in H1, otherwise 0 (filled down to E9). F2: rank of the order by sales, largest is 1 (down to F9). H5: sales of the region in G5 (down to H7). I5: number of orders of the region (down to I7). J5: tier of the region: A from the value in H12, B from the value in H13, otherwise C (down to J7). H9: sales of region North from new customers only. H10: largest order of region South.

ABCDEFGHIJK
1 Rep Region Sales New customer Bonus Rank Bonus from sales of 5000
2 Anna West 6200 yes Bonus rate 0.03
3 Ben South 4800 no
4 Clara North 7500 yes Region Sales Orders Tier
5 David North 3100 no North
6 Eva South 9400 yes South
7 Finn North 5600 no West
8 Grace West 2900 yes
9 Henry South 5200 no New customer sales North
10 Largest order South
11
12 Tier A from 18000
13 Tier B from 12000
14
15

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

What matters

Rules live in cells, not in the formula

The bonus threshold, the bonus rate and the tier limits sit in their own cells on the right. Refer to them instead of typing 5000 or 3% into the formula. When the sales manager changes the threshold, the whole report is right again at once. Because the formulas fill down, these references need dollar signs.

One condition or several

Sales per region is one condition, so SUMIF. Sales of region North from new customers is two conditions, so SUMIFS. In SUMIFS the sum range comes first, in SUMIF it comes last. That is the most common mix-up.

The order inside IFS

IFS takes the first condition that is true. So test the highest limit first: A, then B, and TRUE at the end for everything else. If B comes first, even a region with very high sales only gets a B.

If it does not work

  • The message names the first cell that is not right yet. Everything before it is correct.
  • If only the first row of a range is right, dollar signs are missing on a range or on a rule cell.
  • If the bonus is 0 everywhere, IF compares in the wrong direction.
  • The exercise also checks with other sales figures, another threshold and another region, so typed numbers or fixed cells do not pass.

Frequently asked questions

My Excel does not have IFS or MAXIFS. What now?

Both exist in Excel 2019 and later and in Microsoft 365. In the exercise they always work. In older versions use a nested IF for the tier, which also counts as correct here.

Can I use helper cells?

Yes. Only the results in the yellow cells are checked.

Is the project free?

You can read the task and every explanation on this page for free. Solving the project is part of Premium, like all closing projects from level 2 on. To try the format, the level 1 project is free.

How many points is the project worth?

A project counts three times as much as a single exercise, because you solve several steps together.

Next: Level 3, everyday office work

That completes level 2. Level 3 is about working with whole lists: sorting and filtering, guarding inputs, printing and linking sheets.

Practice sort and filter

Write to us

Choose language

Select your preferred language