Book 13 · Spreadsheet & Data · Chapter 6

Lookup & Tier Table Tester

A lookup is a rule written as a table. See which row it lands on, and why an invisible space can make it fail.

Home › Calculators › Spreadsheet & Data › Lookup & Tier Table Tester

Opens on Chapter 6: the Elm Park Middle School bike club’s 12 kids’ bikes at $250 (the 10% row: $2,700), the CH-11 chain at $32.00, and a 4.5-hour rental at $8 a started hour, capped at $45 a day ($40). Every number is an invented example from the book (“in this example”); put in your own data.

Tier table (approximate match, smallest first)
Price list (exact match)
Rental (in this example)
Enter your numbers, then press Calculate.
From the book, Chapter 6. Approximate match: =VLOOKUP(value, table, column, TRUE) returns the row with the largest first-column value that is less than or equal to yours, so the first column must be sorted smallest first; below the first row it gives #N/A. Exact match: =VLOOKUP(key, table, column, FALSE) needs the key exactly (upper and lower case don’t matter, but spaces do), or it gives #N/A. =INDEX(names, MATCH(key, codes, 0)) does the same and can look to the left. Rental: =MIN(ROUNDUP(hours,0)*rate, cap). The book and all seven tools →

#N/A means “not found”, not “zero”. Before wrapping a lookup in IFERROR to hide the message, find out why it failed: a trailing space (TRIM fixes it), a number stored as text, or a code that really isn’t on the list. Everything stays in your browser: no sign-up, nothing stored or sent.