IFS Function in Excel: Several Conditions Without Nested IFs

⏱ 1 min readUpdated 28 September 2026

LogicalLevel: IntermediateAvailable in: Excel 2019+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Common errors and fixes
  5. Related functions

IFS checks conditions in order and returns the value for the first TRUE one — cleaner than nesting IF inside IF.

Syntax

=IFS(test1, value1, [test2, value2], ...)
Argument What it means
test1, value1 First condition and its result.

Examples

Example 1

=IFS(C2>=85,"A", C2>=70,"B", C2>=55,"C", C2>=40,"D", TRUE,"F")

Grades; TRUE at the end acts as “otherwise”.

Common errors and fixes

You see Why, and the fix
#N/A No condition matched — add TRUE, “default” as the last pair.

IF · SWITCH · XLOOKUP

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong