date and time with if statement

K

kaon

Hi all,

What formula should I input into the cell if I want to check th
current date and time against a given date and time, i.e.

If current date and time equals a month (say, June)
then display a formula (say, = A1 + B2)
else 0

I have wrote such code:
= IF(MONTH(NOW()) = a month , formula , 0)
but it does not work.

I am using xl2000.

Thanks
 

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