Logiceasy

IFS()

Evaluates multiple conditions and returns a value for the first TRUE.

Syntax
fx
=IFS(condition1, value1, [condition2, value2, ...])
Example
fx
=IFS(A1>90,"A", A1>80,"B", A1>70,"C")

Paste this into Google Sheets to run it. The live playground on this site covers 24 of the 61 functions, and IFS isn't one of them yet.

Common pitfalls

  • Conditions are evaluated top-to-bottom: order matters. The first match wins.
  • There's no built-in else clause. Add a final TRUE, default_value pair to handle the fallthrough.
  • Returns #N/A if no condition matches. Wrap in IFERROR for safety.
Related formulas
IF()
Returns one value if a condition is TRUE, another if FALSE.
Used by
IF()
Returns one value if a condition is TRUE, another if FALSE.
IFERROR()
Returns the first argument if it isn't an error; otherwise returns the second.