Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=IF(A2="High","Priority 1",IF(A2="Medium","Priority 2","Priority 3"))=IFS(A2="High","Priority 1",A2="Medium","Priority 2",TRUE,"Priority 3")Computed by a real spreadsheet engine on the sample data below.
| Priority Label | Result |
| High | Priority 1 |
| Medium | Priority 2 |
| Low | Priority 3 |
| High | Priority 1 |
| Medium | Priority 2 |
=IF(A2="High","Priority 1",IF(A2="Medium","Priority 2","Priority 3"))→Priority 1
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
IFS was introduced in Excel 2019 and Excel 365. Users on Excel 2016 or earlier must use nested IF instead.
IFS supports up to 127 condition-result pairs in Excel and Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: