Advanced8 minFree practice

Handle a missing book code

Return a price when found and a clear fallback otherwise.

Practice library
Read the taskTry your answerLearn from feedback

YOUR TASK

Put Lookup fallback to work.

Look for book code BK204 in A2:A6 and return its price from C2:C6 in G2. If the exact lookup is not found, return the text "Not found". The code may be present in a new dataset.

Answer cell: G2Start your formula with = and use the source cells.

CU = fictional currency units. Use numbers without a currency symbol.

Give me a hint

Wrap an exact INDEX/MATCH lookup in IFERROR with a quoted text fallback.

Show the worked solution=IFERROR(INDEX(C2:C6,MATCH("BK204",A2:A6,0)),"Not found")

A missing lookup is an error, not a price of zero. IFERROR supplies the message; when BK204 exists, the same formula must return its numeric price.

Try it yourself before opening the solution. A completed task with the solution open is saved as reviewed practice.

Get the full practice workbook
Lookup fallback practiceDataset original
ABCDEFG
1Book codeCopiesPrice (CU)Your answer
2BK20112250
3BK2028480
4BK20315320
5BK2056550
6BK20610400
Practice dataAll data is fictional
Ready when you are.
What can I use in this checker?

SUM, SUMPRODUCT (matching range dimensions), INDEX (single-cell result), MATCH (exact match with 0), AVERAGE, AVERAGEIF, MEDIAN, MIN, MAX, COUNT, COUNTA, IF, IFERROR, AND, OR, SUMIF, SUMIFS, COUNTIF, COUNTIFS, exact-match VLOOKUP and XLOOKUP, ROUND, LEFT, RIGHT, LEN, TRIM, UPPER, LOWER, CONCAT, arithmetic, comparisons, percentages and absolute cell references. Use the displayed data and double quotes for text. For AND and OR, use comparisons or logical values. Text-cleaning tasks check letter case. This is a focused formula checker; it does not include Excel’s full feature set.

KEEP YOUR MOMENTUM

One more small step?

Try Top-score lookup practiceBrowse all challenges

YOUR LEARNING JOURNEY

Look how far you’ve come.

Your progress is saved in this browser. Clearing browser data removes it.

Manage saved progress

This removes your completed-challenge history from this browser.