Eogrus
Eogrus

Reputation: 1

Excel If Functions with Multiple Conditions

I need to create a formula that captures the following information:

I have this formula worked out:

=IF(D3<500,"Silver",IF(AND(D3>=500,D3<=1499),"Gold","Platinum"))

but I can't figure out how to incorporate the 0 to equal Green.

Thanks for your help in advance.

Upvotes: 0

Views: 92

Answers (1)

BruceWayne
BruceWayne

Reputation: 23285

You can do:

=IF(C3<=0,"Green",IF(C3<500,"Silver",IF(C3<=1499,"Gold","Platinum")))

I added <=0 just in case you have negative numbers. Without it, -1 will return Silver. Also note that if C3 is empty/blank, it'll return Green still.

Upvotes: 1

Related Questions