Wauvel

Excel like a finance pro.

The functions, VBA, and shortcuts a finance operator actually uses — curated, with CFO examples. Prefer them pre-built? Grab a ready-made model.

← All functions

IF / IFS

Logic & error handling

Return different results by condition — IFS avoids nested IFs.

Difficulty

Amateur
Excel file

1What is it?

IF returns one value when a test is true and another when false. IFS checks several conditions in order and returns the first match — far more readable than deeply nested IFs. End with TRUE as a catch-all.

2What it looks like

IFS(test1, value1, test2, value2, …, TRUE, default)
test1
A condition that's TRUE or FALSE.
value1
What to return if test1 is TRUE.
TRUE, default
A final catch-all so there's always an answer.

3When you use it

  • Bucket a number into bands (margin tier, aging bucket, rating).
  • Map a status to a label or a color rule.
  • Replace 3+ nested IFs with a flat, readable list.

4See it in action

Change the inputs — the formula and result update live. Prefer the real thing? Download the Excel file and open it in Excel.

Start simple · 1 of 2

Label a result Profit / Breakeven / Loss. The value lives in cell B2.

C2
fx
=IFS(B2>0,"Profit", B2=0,"Breakeven", TRUE,"Loss")Profit
ABC
1MetricValueResult
2Net incomeProfit

The lime cell holds the formula — click it (or any cell) to see its contents in the bar above, just like Excel. Edit the blue cells to watch it recompute.

5Common errors

#N/ANo condition was TRUE and there's no catch-all.

Fix: Add a final TRUE, default pair.

Wrong branchConditions overlap and order matters.

Fix: Order from most specific to most general.

6Better functions & alternatives

  • IF (nested) Fine for one or two conditions.
  • SWITCH Cleaner when matching one value against a list of exact cases.

Want IF / IFS already wired into a model? Wauvel's free tools download as branded, formula-driven Excel.

Learn the moves here — or let Wauvel run them on your numbers.

Get my free report →