Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
SWITCH evaluates one expression against several values and returns the result for the first match, with an optional default. Cleaner than IFS when you are testing a single cell for equality.
=SWITCH(A2, "N", "North", "S", "South", "Unknown")=SWITCH(A2, "N", "North", "S", "South", "Unknown")Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need a version for your data?
Try: “Turn the code in A2 into a region: N is North, S is South, else Unknown”
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: