YES ! Excel help. Have you tried it ?
Your basic IF statement follows this pattern
IF something is true, do something, if not, do something else.
So, let's say you want to test if cell A1 contains the value 1, and if it DOES, return the text "OK", and if it DOESN'T, return whatever value is in cell B1.
And that is basically it for IF statements. You can make them much more complicated, but they are really all just elaborations of the above.
For example, you can nest two or more IF statements together, or you can make all the elements of the formula be formulas themselves, such as
Code:
=if(vlookup(a1,b1:c10,2,false)=(d1&e1),round(f1,0),sqrt(sum(g1:g10)))
As for AND statements, they follow this pattern -
Imagine you have more than one test that you want to do, and you want to test that ALL of the tests are true.
For example, you might want to test that A1=1 AND B1=1 AND C1=1.
will return TRUE if they are ALL = 1, and FALSE if one or more are NOT equal to 1.
You can combine AND statements with IF statements, like this
Code:
=IF(AND(a1=1,b1=1),"OK",+c1)
Similar tools include OR, and NOT