What do you mean by 'not work'? Now, the second example will not work
because you are missing a comma after 'A2'.
For the first example, are you encountering an error? Do you see
"FALSE"? If the latter is what you are referring to then an IF
function has three arguments:
=IF(<condition>,<truepart>,<falsepart>)
You are missing the false arguments. So you'd need something like:
=IF(A1=A2,4000,0)
Please post all follow-up questions to the newsgroup. Requests for
assistance by email can not be acknowledged.
~~~~~~~~~~~~~~~
Beth Melton
Microsoft Office MVP
Word FAQ:
http://mvps.org/word
TechTrax eZine:
http://mousetrax.com/techtrax/
MVP FAQ site:
http://mvps.org/