cellcraftEnter the quest map →
← Browse the curriculum
STATISTICS & DECISION RULES · ORIGINAL EXERCISE

Translate the tier

Translate the tier in C2 into points: Gold → 3, Silver → 2, Bronze → 1, anything else → 0. Use SWITCH.

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

LearnerScoreTierDeliveryPickup
Ari84Goldtruefalse
Bea71Silverfalsefalse
Cam92Goldfalsetrue
Dev84Goldtruetrue
Em63Bronzetruefalse
Fox77Silverfalsetrue
Gia88Goldfalsefalse
Hal84Goldtruefalse
Play this quest · +70 XP →

Hints to get you started

  1. SWITCH compares one value with several cases.
  2. Start with C2, then case/result pairs.
  3. Finish with the default result 0.
Show the worked solution
=SWITCH(C2,"Gold",3,"Silver",2,"Bronze",1,0)

SWITCH is a readable choice when one expression is compared against named categories. It is different from IFS threshold tests.

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 →