Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Combining Conditions | Calculating Data Like a Pro
A Fun Way to Excel

bookCombining Conditions

Sveip for å vise menyen

The IFS Function

=IFS(logical_test1; value_if_true1; [logical_test2; value_if_true2]; ...)

=IFS(D9>100; "High"; D9>50; "Medium"; TRUE; "Low")

IFS has no built-in "else". If no condition matches, it returns an error. Always add TRUE, "default value" as the last pair to guarantee a result for every row.

Note
Note

Order matters. Excel checks conditions left to right and stops at the first TRUE. Put the most specific (narrowest) conditions first — a broad condition placed early will swallow everything below it. For example, putting D9>0 before D9>50 means "Medium" and "High" are never reached.

Combining Conditions with AND

All conditions must be true.
All conditions TRUE → TRUE | Any condition FALSE → FALSE.

=IF(AND(D9>100; B9="Dining"); "Review"; "OK")

Combining Conditions with OR

At least one condition must be true.
Any condition TRUE → TRUE | All conditions FALSE → FALSE.

=IF(OR(D9>100; B9="Dining"); "Review"; "OK")
question mark

Hi

Velg det helt riktige svaret

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 3. Kapittel 5

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

Seksjon 3. Kapittel 5
some-alt