FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

IFS in Google Sheets

IFS with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the IFS Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Letter grade

A
1Score
284

Formula: C1: =IFS(A2>=90,"A",A2>=80,"B",A2>=70,"C",TRUE,"F")

Result: B

Tests run in order; 84 fails the first test and passes the second. The final TRUE acts as an "everything else" catch-all.

Shipping cost by weight

A
1Weight (lb)
23

Formula: C1: =IFS(A2<=1,4.5,A2<=5,7.9,TRUE,12.5)

Result: 7.9

Up to 1 lb costs 4.50, up to 5 lb costs 7.90, anything heavier 12.50.

No condition matches

A
1Value
250

Formula: C1: =IFS(A2>100,"High")

Result: #N/A

With no matching test and no TRUE fallback, IFS returns #N/A.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in F2: =IFS(B2>=90,"A",B2>=75,"B",TRUE,"C")

Example spreadsheet for IFS
ABCDEF
1StudentScoreExtra creditAttemptsResult
2Ann92Yes2A
3Bob74No0
4Cy58Yes3
5Dee81No1
6Eli662
Result in F2: A
Practice this in a lesson: Nested IF and IFS

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.