IFS

    Logical

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

    Translations
    EnglishIFS
    FrenchSI.CONDITIONS
    SpanishSI.CONJUNTO
    GermanWENNS
    ItalianPIÙ.SE
    PortugueseSES
    DutchALS.VOORWAARDEN
    PolishJEŻELI.WARUNKI
    RussianУСЛОВИЯ
    TurkishÇOKEĞER
    CzechKDYŽ.VÍCE
    HungarianHA.TÖBB
    SwedishOMF
    DanishHVISER
    FinnishJOSEHTO
    Syntax
    IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], ...)

    Arguments

    • logical_test1First condition
    • value_if_true1Result if first condition is TRUE
    • logical_test2Second condition(optional)
    • value_if_true2Result if second is TRUE(optional)
    Examples
    =IFS(A1>=90,"A",A1>=80,"B",A1>=70,"C",TRUE,"F")
    Grade letter

    Multiple grade thresholds

    =IFS(B1="Gold",100,B1="Silver",50,B1="Bronze",25)
    Points

    Award points by medal

    =IFS(A1>0,"Positive",A1<0,"Negative",TRUE,"Zero")
    Sign label

    Categorize numbers

    Tips & Best Practices
    • Use TRUE as last condition for default value
    • Replaces nested IF statements
    • Available in Excel 2019 and later
    Common Mistakes
    • Skipping the final TRUE,"default" pair and getting hit with #N/A the moment nothing else matches
    • Ordering conditions the wrong way round - test A1>=70 before A1>=90 and that top grade will never trigger
    • Building a grading formula around IFS for a file that also needs to open in Excel 2016, where the function just isn't there
    Related Functions
    IFThe building block IFS is meant to replace once you're past two or three nested conditions
    SWITCHReads more cleanly when you're matching one value against a fixed list rather than testing ranges
    VLOOKUPAn approximate-match VLOOKUP against a threshold table can quietly replace a long IFS chain for grading-style logic
    Frequently Asked Questions

    What happens if none of the IFS conditions are TRUE?

    You get #N/A, plain and simple. Add a final TRUE,"default value" pair so there's always a fallback result instead of an error.

    Does condition order actually matter in IFS?

    Yes, and it's an easy trap - IFS checks conditions left to right and stops at the first TRUE one. For grading-style thresholds, list the highest value first, or a lower threshold will catch everything before the higher one gets a chance.

    Can I use IFS in any version of Excel?

    No - IFS needs Excel 2019, Excel 2021, or Microsoft 365. Anything older, and you're back to nested IF statements.

    Need to translate a formula using IFS?

    Use our translator to convert your complete formula