Hi Paul,
The AND() function returns true/false. Numerically,
true==1 and false==0. If you *want* 1/0 instead of
true/false, you must enclose it in an IF().
=IF(AND(......), 1, 0)
By enclosing it in an IF function, you can get any result you want, even text,
i.e.
=IF(A1=B1,"The same","Different)
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.