if between two dates

A

ADK

B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK
 
W

William Horton

=IF(AND(A3>=B1,A3<=B2),"x","")

Enter the above formula in cell B3. That should work.

Bill
 
B

Bob Phillips

=IF(AND(A3>=B1,A3<=B2),"X","")

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
A

AdmiralAJ

B1= 1/1/2007
B2 = 10/3/2007
A3 = 1/12/2007

B3 = X

(X being the letter X ...so "X" in formula)

B3 exquals X if A3 is between or on B1 & B3 otherwise cell equals ""

Examples:

If A3 is 1/1/2007 then B3 = X
If A3 is 4/3/2007 then B3 = X
If A3 is 10/3/2007 then B3 = X
If A3 is 10/4/2007 then B3 = ""
If A3 is 12/22/2007 then B3 = ""

Thanks for help

ADK

ADK,

Here's one way to approach your problem and its fairly simple:
in B3 you type this formula
=if(and(a3>=b1,a3<=b2),"X","")

Regards...AJ
 

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