Excel & Google Sheets Function
IFS function in Excel (with interactive examples)
IFS checks multiple conditions in order and returns the value for the first TRUE test — replacing messy nested IF formulas.
Syntax
=IFS(test1, value1, [test2, value2], ..., TRUE, fallback)Live Interactive Exercise — Try it nowNo login required
Interactive practice grid (IFS reference)
Try our live spreadsheet engine: total Q1 sales in cell B5 using =SUM(B2:B4).
B5fx
| A | B | |
|---|---|---|
| 1 | Month | Sales |
| 2 | Jan | $1,100.00 |
| 3 | Feb | $1,350.00 |
| 4 | Mar | $1,550.00 |
| 5 | Total | type here |
Insert:
Arguments explained
| test1 | Required | First logical condition (e.g. B2>=90). |
| value1 | Required | Output if test1 is TRUE (e.g. "A"). |
Common errors & fixes
#N/A: Add a final TRUE, "Default" pair at the end to handle all remaining cases.
Excel vs Google Sheets
Identical in Excel 2019+/365 and Google Sheets.
Practise IFS in a full 4-minute lesson
Every lesson is free to study — build real speed with instant feedback.
Free 1-Page Excel, Google Sheets & SQL Interview Cheat Sheet
The 25 formulas, keyboard shortcuts, and SQL patterns tested most in analyst interviews — emailed instantly, zero spam.