If Function - "and" command?

A

aronnov

I have a basic If Function, (see below) Is there anyway I can add a 'and'
command? So it could read: =IF(B3=B16 and B16 does not equal to 0,1,0)

how can I add 'and B16 does not equal to 0'?

=IF(B3=B16,1,0)

Aaron
 
S

Sandy Mann

Aaron,

Try:

=IF(AND(B3=B16,B16<>0),1,0)

--
HTH

Sandy
(e-mail address removed)
Replace@mailinator with @tiscali.co.uk
 

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.

Ask a Question

Top