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?
✗ Incorrect
The first argument is the expression or value that SWITCH compares against the list of values.
What does SWITCH return if no match is found and no default is given?
✗ Incorrect
Without a default, SWITCH returns the #N/A error when no match is found.
Which of these is a correct use of SWITCH to return 'Yes' if A1 is 1, 'No' if 0, else 'Maybe'?
✗ Incorrect
The syntax is SWITCH(expression, value1, result1, value2, result2, ..., default). Option D follows this correctly.
Can SWITCH function replace nested IF statements for multiple exact matches?
✗ Incorrect
SWITCH is designed to simplify multiple exact match conditions compared to nested IFs.
Which function is better than SWITCH for multiple different conditions involving different expressions?
✗ Incorrect
IFS allows multiple conditions with different expressions, which SWITCH cannot handle.
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.