cellcraftEnter the quest map →
← Browse the curriculum
DECISIONS & ERROR HANDLING · ORIGINAL EXERCISE

The restock rule

For the mouse on row 3, return "Restock" if C3 is below D3; otherwise return "OK".

This quest practices IF using a fictional business dataset. Read the sheet below, then enter the interactive quest to write and check your formula.

SKUItemStockReorder atPrice
KB-01Keyboard241060
MS-02Mouse81525
MN-03Monitor68250
HC-04Headset181280
WB-05Webcam0545
DK-06Dock126110
Play this quest · +70 XP →

Hints to get you started

  1. IF has a test, a true result, and a false result.
  2. Compare stock C3 with reorder level D3.
  3. Put text results inside double quotes.
Show the worked solution
=IF(C3<D3,"Restock","OK")

IF turns a comparison into an actionable stock status.

Make the skill stick

After solving the task, explain what each reference does and why the formula answers the business question. Try the workbook download inside the quest to practice in your own spreadsheet app.

Explore the rest of this region →