0
0
Google Sheetsspreadsheet~5 mins

SWITCH function in Google Sheets - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the SWITCH function do in Google Sheets?
The SWITCH function checks a value against a list of cases and returns the result for the first matching case. If no match is found, it can return a default value.
Click to reveal answer
beginner
How do you write a basic SWITCH formula?
Use =SWITCH(expression, case1, result1, case2, result2, ..., default) where expression is what you check, cases are possible matches, and results are what you get if matched.
Click to reveal answer
intermediate
What happens if no cases match and no default is provided in SWITCH?
If no match is found and no default value is given, SWITCH returns an error (#N/A).
Click to reveal answer
intermediate
Can SWITCH replace nested IF statements?
Yes, SWITCH can simplify formulas by replacing multiple nested IFs when checking one value against many options.
Click to reveal answer
beginner
Example: What does =SWITCH(A1, "Red", 1, "Blue", 2, "Green", 3, 0) return if A1 is "Blue"?
It returns 2 because "Blue" matches the second case, so the result is 2.
Click to reveal answer
What is the correct order of arguments in the SWITCH function?
Aresult1, case1, expression, case2, result2, ..., default
Bcase1, result1, expression, case2, result2, ..., default
Cexpression, case1, result1, case2, result2, ..., default
Dexpression, result1, case1, case2, result2, ..., default
If no case matches and no default is given, what does SWITCH return?
A#N/A error
BEmpty string
C0
DThe first case's result
Which function can SWITCH help simplify?
ACOUNT
BVLOOKUP
CSUM
DNested IF
What will =SWITCH(3, 1, "One", 2, "Two", 3, "Three", "Other") return?
A"Three"
B"Two"
C"Other"
D"One"
Can SWITCH handle text and numbers as cases?
ANo, only numbers.
BYes, it can handle both text and numbers.
CNo, only text.
DOnly dates.
Explain how the SWITCH function works and give a simple example.
Think about choosing from options based on one value.
You got /5 concepts.
    Describe a situation where SWITCH is better than nested IF statements.
    Imagine you want to assign grades based on a letter.
    You got /4 concepts.