if not function

O

OssieMac

Not function simply reverses the True/false.

Example of a simple If function to test for Zero:-

=IF(A1=0,"Is Zero","Not Zero")

Nesting the above with the Not function as follows:-

=IF(NOT(A1=0),"Not Zero","Is Zero")
 
R

Robert McCurdy

Also you can use <>
An example:

=A2<>"Dog"

If A2 has 'Dog' then the formula returns FALSE
otherwise it returns TRUE.

<> stands for Not Equal

Regards
Robert McCurdy
 
Top