Logical Functions
Advanced

IFNA as a default inside a calculation

A missing lookup becomes a sensible default, and the arithmetic carries on.

Task:

Discounts depend on the customer's tier, looked up from the table in F2:G4. Customers with no tier get no discount. In D2:D7 give each order's price after discount: list price × (1 − discount).

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 × 7 columns6 cells you fill in
ABCDEFG
1CustomerTierList priceNet priceTierDiscount
2Amber LtdGold400Gold0.15
3Basalt IncSilver250Silver0.1
4Cobalt Co300Bronze0.05
5Dune LLPBronze120
6Egret plcPlatinum500
7Flint LtdSilver80
What this exercise teachesMay contain the answer

The fallback does not have to be the final answer; it can be an input to the next step. Defaulting the missing discount to 0 lets every row price correctly, including Egret's Platinum tier that nobody has set up yet — which is worth a note to whoever owns the table.