Course
SWITCH and XOR practice exercises
Five exercises, from your first SWITCH to XOR as the test of IF. Each answer is checked instantly, with a hint and the explanation if you get stuck.
Read the SWITCH and XOR tutorial
Exercise 1 of 5
Turn priority codes into labels
The help desk stores priorities as codes. In C2:C6, use SWITCH to show High for 1, Medium for 2 and Low for 3, based on the code in column B.
| Ticket | Priority code | Priority |
| T-301 | 2 | |
| T-302 | 1 | |
| T-303 | 3 | |
| T-304 | 1 | |
| T-305 | 2 |