Multiple If's and OR's
=IF(AND(A1="red",A2="blue"),10,IF(AND(A1="green",A 2="orange"),20,IF(AND(A2="purple",A2="yellow"),30, "")))
--
---
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Shelly" wrote in message
...
Hello - I've searched, but cannot find what I'm looking for... I need to
do
this:
In the cell A3 the formula should say
If A1 = "red" and if A2 = "blue" enter 10 in A3, or
If A1 = "green" and if A2 = "orange" enter 20 in A3, or
If A1 = "purple" and if A2 = "yellow" enter 30 in A3.
And, I will need to replicate this down a column of 5 rows.
THANKS!!
|