Comparing 3 dates

  • Thread starter Thread starter Guest
  • Start date Start date
Hi Steve,

If the earliest date is in A1, the latest date in C1 and the test date is in
B1, and all dates are stored as values, you could use something like:
=IF(AND(B1>A1,B1<C1),"Yes","No")
This tests whether B1 is *between* A1 and C1.

If you want to include A1 and C1 as valid dates, use something like:
=IF(OR(B1<A1,B1>C1),"No","Yes")

Cheers
 

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

Comparing 3 Columns 2
comparing 3 columns 6
Comparing 2 Dates 3
Comparing Excel Dates 5
Comparing dates 3
Access Compare records in same access table 0
Excel Comparing two columns 1
Compare dates 2

Back
Top