Turn codes into names with SWITCH

Premium

In C2, use SWITCH to turn the code in B2 into a name: "N" is "North", "S" is "South", and any other code is "Other".

C2
ABCDEF
1Order Region code Region
21042 S
3
4
5
6
7
8

Premium lesson

Unlock IFS and SWITCH and every other lesson

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:Conditional formattingDrop-down lists and data validation

Your first month for $9.50 $19

50% off your first month when you join today.

Get your first month for $9.50

Then $19/month. Cancel any time, and get a full refund within 14 days if it isn't for you.

Already premium? Sign in
Need help?