Logical Functions
Advanced

SWITCH returning a number inside a calculation

Look the tier's multiplier up and apply it in the same formula.

Task:

Loyalty tiers get a discount: Gold pays 80% of list price, Silver 90%, and everyone else full price. In D2:D7 give each customer's price.

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.

7 rows × 4 columns6 cells you fill in
ABCD
1CustomerTierList pricePrice
2InesGold250
3JorgeSilver250
4Kai250
5LeaGold90
6MoBronze120
7NiaSilver40
What this exercise teachesMay contain the answer

Returning the multiplier, not the finished price, keeps the formula to one copy of C2 and makes the policy readable at a glance. The default of 1 is a real decision: Bronze, blank and any future tier pay full price until someone says otherwise.