The syntax of the IF function is
=IF(test,result_if_true,result_if_false)
where test is a comparison or expression that returns TRUE (or a
non-zero number) or FALSE (or zero), and result_if_true is the
result to be returned if test is TRUE and result_if_false is the
result to be returned if test is FALSE. E,g,
=IF(A1>10,"greater","not greater")
This will return the text "greater" if A1>10, otherwise it will
return the text "not greater".
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
message
news:
[email protected]...