Two date validations

G

Gabe

How do I create two validation rules for one cell containing a date?

1. The date (Cell A1) must be between a certain range (12/01/2009 and
12/31/2012).

2. The date must not be greater than Cell A2.

So far I got the first rule working, but I can't figure out how to do both.
Any advice would be greatly appricaiated.

Thanks,
~Gabe
 
D

Dave Peterson

I'd try:

Select A1
Data|Validation (xl2003 menus)
formula is:
=AND(ISNUMBER(A1),A1>=DATE(2009,12,1),A1<=DATE(2012,12,31),A1<=A2)
 

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