Logical Functions
Intermediate

IF that returns a calculation

The answer to an IF can be a sum, not just a word.

Task:

Reps earn 5% commission on their sales, but only once they pass 10,000 in the month; below that they earn nothing. Put each rep's commission in C2:C6.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

6 rows × 3 columns5 cells you fill in
ABC
1RepSalesCommission
2Hana12400
3Idris9800
4Jo10000
5Kofi15600
6Lena10001
What this exercise teachesMay contain the answer

Returning 0 rather than the word "None" keeps the column numeric, so the commission total at the bottom of the sheet still adds up. Jo, on exactly 10,000, earns nothing — whether the threshold is > or >= is a policy question, and the formula has to say which.