Cellgrids Cellgrids
Home › Excel formulas › Logic › IFS

IFS Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

IFS is an Excel Logic function. Checks multiple conditions in order and returns the value for the first one that's true.

IFS syntax

=IFS(logical_test1, value1, [logical_test2, value2], ...)

Arguments

When to use IFS

IFS is used to build decision rules directly into a spreadsheet instead of manually judging each row.

Practice IFS online, free

Open the live Excel-style spreadsheet and try IFS yourself. No Excel install or sign-up needed to start.

Practice IFS now →

Learn more

Read the tutorial: IF with AND / OR.

IFS practice questions

More Logic functions

Frequently asked questions

What does the IFS function do in Excel?

Checks multiple conditions in order and returns the value for the first one that's true.

What is the syntax of IFS in Excel?

The syntax is =IFS(logical_test1, value1, [logical_test2, value2], ...). logical_test1: The first condition to check; value1: The first value; logical_test2: An additional condition to check (optional); value2: An additional value (optional).

Where can I practice IFS online for free?

Open the free live spreadsheet on Cellgrids and try IFS yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Logic functions · Excel case studies · Excel tutorials · Excel shortcuts