IF Function with conditions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need a formula which will look at the following conditions and if it agrees
put the text "OK" in a cell, if it does not match the "Not OK". Anything I
have tried doesn't work!

If cell A1 is greater that 28/11/2004
If cell A1 less than 31/12/2005
If cell B1 is greater than 28/11/2004

Thank you for your help.

Esther
 
Hi Esther

one way
=IF(AND(A1>DATEVALUE("28/11/04"),A1<DATEVALUE("31/12/05"),B1>DATEVALUE("28/11/04")),"ok","not
ok")

Cheers
JulieD
 

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

Similar Threads


Back
Top