If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Using the "if" function, the "and" function and the "or" function
I am not sure if or how to use all three in a formula. For example:
=if(b2="red", and c3="blue", d6="green") if that makes sense at all. |
#2
|
|||
|
|||
Using the "if" function, the "and" function and the "or" function
Maybe something like:
=if(and(b2="red",c3="blue",d6="green"),"all three match!","not all 3 match") or =if(or(b2="red",c3="blue",d6="green"),"at least one matches","none match") or you can use both to make the criteria more complex =if(and(b2="red",or(c3="blue",d6="green")),then,el se) B2 has to be red and either (or both) c3=blue or d6=green for the "then" portion to be returned. anything else, and you get the else portion. Superblonde64 wrote: I am not sure if or how to use all three in a formula. For example: =if(b2="red", and c3="blue", d6="green") if that makes sense at all. -- Dave Peterson |
Thread Tools | |
Display Modes | |
|
|