Simple Q - Multiple IF (And) Statement

C

cjwenngatz

I have to search a row of dates and identify various ranges.

I created this formula - but it errors out:

=IF(AND(B2<DATE(2011,12,31),B2>(2010,12,31)),"YES","NO")

Suggestions?
 
G

Glenn

I have to search a row of dates and identify various ranges.

I created this formula - but it errors out:

=IF(AND(B2<DATE(2011,12,31),B2>(2010,12,31)),"YES","NO")

Suggestions?

Did you miss the second "DATE"?


=IF(AND(B2<DATE(2011,12,31),B2>DATE(2010,12,31)),"YES","NO")
 

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