0
0
Excelspreadsheet~5 mins

SWITCH function in Excel - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What does the SWITCH function do in Excel?
The SWITCH function compares one value against a list of values and returns the result corresponding to the first match. If no match is found, it can return a default value.
Click to reveal answer
beginner
Write the basic syntax of the SWITCH function.
SWITCH(expression, value1, result1, [value2, result2], ..., [default])<br><br>Where:<br>- expression: the value to compare<br>- value1, value2, ...: values to match<br>- result1, result2, ...: results to return for each match<br>- default: optional value if no match is found
Click to reveal answer
beginner
What happens if the SWITCH function does not find any matching value and no default is provided?
If no match is found and no default value is given, SWITCH returns the #N/A error.
Click to reveal answer
intermediate
How can SWITCH function be useful in grading student scores?
You can use SWITCH to assign letter grades based on score categories by matching score ranges or exact values to grades like A, B, C, etc., making grading easier and clearer.
Click to reveal answer
intermediate
Can SWITCH function handle multiple conditions like IF statements?
Yes, SWITCH can handle multiple conditions but only compares one expression to multiple values. For complex conditions involving different expressions, nested IFs or IFS function may be better.
Click to reveal answer
What is the first argument in the SWITCH function?
AA list of values
BThe default result
CThe value to compare
DThe first result to return
What does SWITCH return if no match is found and no default is given?
A0
B#N/A error
CEmpty string
DThe first result
Which of these is a correct use of SWITCH to return 'Yes' if A1 is 1, 'No' if 0, else 'Maybe'?
ASWITCH(1, A1, "Yes", 0, "No", "Maybe")
BSWITCH(A1, "Yes", 1, "No", 0, "Maybe")
CSWITCH(A1, "Yes", "No", "Maybe")
DSWITCH(A1, 1, "Yes", 0, "No", "Maybe")
Can SWITCH function replace nested IF statements for multiple exact matches?
AYes, it is simpler for exact matches
BNo, SWITCH only works for numbers
CNo, SWITCH only works for text
DYes, but only for two conditions
Which function is better than SWITCH for multiple different conditions involving different expressions?
AIFS function
BSUM function
CVLOOKUP function
DCOUNT function
Explain how the SWITCH function works and give a simple example.
Think about comparing one value to many options and returning a matching answer.
You got /5 concepts.
    Describe a real-life situation where using SWITCH function can make your spreadsheet easier to read and maintain.
    Consider situations where you assign labels based on exact values.
    You got /4 concepts.