Three bands for the sales in B2.
ABC
1StoreSales
2Store 1120

In C2, write =IF(B2>=150,"High",IF(B2>=80,"Medium","Low")) and it shows Medium.

Building a condition

A test compares two things: B2>=50, A2="Yes", C2<>"". Text goes in quotation marks and is compared without regard to case. To test two things at once, put them inside AND or OR: IF(AND(B2>=18,C2>=60),"Eligible","Not eligible").

Nesting in the right order

IF tests run in order and the first true one wins. For three bands, test the highest first: IF(B2>=150,"High",IF(B2>=80,"Medium","Low")). Testing the lowest first would send every large number to the first answer.

IFS takes pairs of a test and a result and returns the first true one. It reads more cleanly than a deep nest, and TRUE as the last test works as an else.

Boundaries and errors

Practise it

Module 2, Logic, has 20 tasks on this, each checked on hidden data: open module 2. You can also try formulas in the sandbox.

Related guides