If Statement with Two Different Logical Test
Try this...
=IF(OR(A1={"apple","orange"}),1,2)
Note: I left both of these singular even though you made 'apple' singular
and 'oranges' plural. If you need that mixture, just add the 's' onto the
end of 'orange'. The key is, put all the text you want the cell to match
inside the curly braces, quoted and comma delimited.
Rick
"Storm" wrote in message
...
Hi there.
How would my if statement look like if I my logical test can be more than
1
value?
For example, if cell A1 = "apple" or "oranges", then return 1, else return
2. How can I show the apple or oranges logical test in equation form?
Thank you!
|