Reputation: 1
I am stuck with this table...
A B C D E
1 y y Orange
I would like to have the result in the Column E:
If A and C =y than = Orange
Thanks,
Steve V.
Upvotes: 0
Views: 37
Reputation: 353
I think you need this:
=IF(AND(A1="y",C1="y")," Orange",IF(AND(A1="y",D1="y"),"Blue",IF(AND(B1="y", D1="y"),"Red", IF(AND(B1="y",C1="y"),"Black",IF nothing applies))
Upvotes: 1