PC Review


Reply
Thread Tools Rate Thread

Data Validation for dates

 
 
ArcticWolf
Guest
Posts: n/a
 
      27th Feb 2009
Hi,

In cell A2 I have a data validation list which contains dates (01-01-2009 to
31-12-2009) and the column heading is Order Received Date.
In B2 I want the the user to select another date from a data validation list
(Order Shipped Date) but I don't want them to choose a date that is earlier
than the date in A2. Is this possible to do? I've tried a custom formula
but I can't figure out how to get it to work!

Thanks in advance,

AW
 
Reply With Quote
 
 
 
 
Stefi
Guest
Posts: n/a
 
      27th Feb 2009
It doesn't need any formula.
Data>Validation>
Select Date from the upper drop down list (I'm not sure what's the English
caption, I use a Hungarian language version, maybe Allowed?),
select Greater than or equal to from the 2nd drop down list (maybe relation?),
put the cursor in the start date field and click on cell A2,
do other settings on Message and Error tabs,
and press OK!

Regards,
Stefi

„ArcticWolf” ezt *rta:

> Hi,
>
> In cell A2 I have a data validation list which contains dates (01-01-2009 to
> 31-12-2009) and the column heading is Order Received Date.
> In B2 I want the the user to select another date from a data validation list
> (Order Shipped Date) but I don't want them to choose a date that is earlier
> than the date in A2. Is this possible to do? I've tried a custom formula
> but I can't figure out how to get it to work!
>
> Thanks in advance,
>
> AW

 
Reply With Quote
 
ArcticWolf
Guest
Posts: n/a
 
      27th Feb 2009
Thanks for the reply Stefi.

I need the end user to select from another data validation list in B. IE I
have two data validations one in A and one in B.
I need the user to select a date from the validation list in B, but only
choose a date that is => than A. We can't have a shipped order date before
the order was received!

Thasnks,

Peter


"Stefi" wrote:

> It doesn't need any formula.
> Data>Validation>
> Select Date from the upper drop down list (I'm not sure what's the English
> caption, I use a Hungarian language version, maybe Allowed?),
> select Greater than or equal to from the 2nd drop down list (maybe relation?),
> put the cursor in the start date field and click on cell A2,
> do other settings on Message and Error tabs,
> and press OK!
>
> Regards,
> Stefi
>
> „ArcticWolf” ezt *rta:
>
> > Hi,
> >
> > In cell A2 I have a data validation list which contains dates (01-01-2009 to
> > 31-12-2009) and the column heading is Order Received Date.
> > In B2 I want the the user to select another date from a data validation list
> > (Order Shipped Date) but I don't want them to choose a date that is earlier
> > than the date in A2. Is this possible to do? I've tried a custom formula
> > but I can't figure out how to get it to work!
> >
> > Thanks in advance,
> >
> > AW

 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      27th Feb 2009
In my opinion a validation list containing 365 elements is not very handy,
but if you want a subset of it starting with the date in A2, here it is (in
my example "days" stands for a named range of 365 day - source of validation
list in A2):

=OFFSET(INDEX(days,1),MATCH(A2,days,0)-1,0,COUNT(days)-MATCH(A2,days,0)+1)

Use it as source for validation list in B2!

Regards,
Stefi


„ArcticWolf” ezt *rta:

> Thanks for the reply Stefi.
>
> I need the end user to select from another data validation list in B. IE I
> have two data validations one in A and one in B.
> I need the user to select a date from the validation list in B, but only
> choose a date that is => than A. We can't have a shipped order date before
> the order was received!
>
> Thasnks,
>
> Peter
>
>
> "Stefi" wrote:
>
> > It doesn't need any formula.
> > Data>Validation>
> > Select Date from the upper drop down list (I'm not sure what's the English
> > caption, I use a Hungarian language version, maybe Allowed?),
> > select Greater than or equal to from the 2nd drop down list (maybe relation?),
> > put the cursor in the start date field and click on cell A2,
> > do other settings on Message and Error tabs,
> > and press OK!
> >
> > Regards,
> > Stefi
> >
> > „ArcticWolf” ezt *rta:
> >
> > > Hi,
> > >
> > > In cell A2 I have a data validation list which contains dates (01-01-2009 to
> > > 31-12-2009) and the column heading is Order Received Date.
> > > In B2 I want the the user to select another date from a data validation list
> > > (Order Shipped Date) but I don't want them to choose a date that is earlier
> > > than the date in A2. Is this possible to do? I've tried a custom formula
> > > but I can't figure out how to get it to work!
> > >
> > > Thanks in advance,
> > >
> > > AW

 
Reply With Quote
 
ArcticWolf
Guest
Posts: n/a
 
      2nd Mar 2009
I agree Stefi, but my end users aren't PC literate and you would not believe
what they try to enter in the cell that blatantly states 'date'!

Thanks for this it works perfect.

ATB,

AW

"Stefi" wrote:

> In my opinion a validation list containing 365 elements is not very handy,
> but if you want a subset of it starting with the date in A2, here it is (in
> my example "days" stands for a named range of 365 day - source of validation
> list in A2):
>
> =OFFSET(INDEX(days,1),MATCH(A2,days,0)-1,0,COUNT(days)-MATCH(A2,days,0)+1)
>
> Use it as source for validation list in B2!
>
> Regards,
> Stefi
>
>
> „ArcticWolf” ezt *rta:
>
> > Thanks for the reply Stefi.
> >
> > I need the end user to select from another data validation list in B. IE I
> > have two data validations one in A and one in B.
> > I need the user to select a date from the validation list in B, but only
> > choose a date that is => than A. We can't have a shipped order date before
> > the order was received!
> >
> > Thasnks,
> >
> > Peter
> >
> >
> > "Stefi" wrote:
> >
> > > It doesn't need any formula.
> > > Data>Validation>
> > > Select Date from the upper drop down list (I'm not sure what's the English
> > > caption, I use a Hungarian language version, maybe Allowed?),
> > > select Greater than or equal to from the 2nd drop down list (maybe relation?),
> > > put the cursor in the start date field and click on cell A2,
> > > do other settings on Message and Error tabs,
> > > and press OK!
> > >
> > > Regards,
> > > Stefi
> > >
> > > „ArcticWolf” ezt *rta:
> > >
> > > > Hi,
> > > >
> > > > In cell A2 I have a data validation list which contains dates (01-01-2009 to
> > > > 31-12-2009) and the column heading is Order Received Date.
> > > > In B2 I want the the user to select another date from a data validation list
> > > > (Order Shipped Date) but I don't want them to choose a date that is earlier
> > > > than the date in A2. Is this possible to do? I've tried a custom formula
> > > > but I can't figure out how to get it to work!
> > > >
> > > > Thanks in advance,
> > > >
> > > > AW

 
Reply With Quote
 
Stefi
Guest
Posts: n/a
 
      2nd Mar 2009
You are welcome! Thanks for the feedback!
Stefi

„ArcticWolf” ezt *rta:

> I agree Stefi, but my end users aren't PC literate and you would not believe
> what they try to enter in the cell that blatantly states 'date'!
>
> Thanks for this it works perfect.
>
> ATB,
>
> AW
>
> "Stefi" wrote:
>
> > In my opinion a validation list containing 365 elements is not very handy,
> > but if you want a subset of it starting with the date in A2, here it is (in
> > my example "days" stands for a named range of 365 day - source of validation
> > list in A2):
> >
> > =OFFSET(INDEX(days,1),MATCH(A2,days,0)-1,0,COUNT(days)-MATCH(A2,days,0)+1)
> >
> > Use it as source for validation list in B2!
> >
> > Regards,
> > Stefi
> >
> >
> > „ArcticWolf” ezt *rta:
> >
> > > Thanks for the reply Stefi.
> > >
> > > I need the end user to select from another data validation list in B. IE I
> > > have two data validations one in A and one in B.
> > > I need the user to select a date from the validation list in B, but only
> > > choose a date that is => than A. We can't have a shipped order date before
> > > the order was received!
> > >
> > > Thasnks,
> > >
> > > Peter
> > >
> > >
> > > "Stefi" wrote:
> > >
> > > > It doesn't need any formula.
> > > > Data>Validation>
> > > > Select Date from the upper drop down list (I'm not sure what's the English
> > > > caption, I use a Hungarian language version, maybe Allowed?),
> > > > select Greater than or equal to from the 2nd drop down list (maybe relation?),
> > > > put the cursor in the start date field and click on cell A2,
> > > > do other settings on Message and Error tabs,
> > > > and press OK!
> > > >
> > > > Regards,
> > > > Stefi
> > > >
> > > > „ArcticWolf” ezt *rta:
> > > >
> > > > > Hi,
> > > > >
> > > > > In cell A2 I have a data validation list which contains dates (01-01-2009 to
> > > > > 31-12-2009) and the column heading is Order Received Date.
> > > > > In B2 I want the the user to select another date from a data validation list
> > > > > (Order Shipped Date) but I don't want them to choose a date that is earlier
> > > > > than the date in A2. Is this possible to do? I've tried a custom formula
> > > > > but I can't figure out how to get it to work!
> > > > >
> > > > > Thanks in advance,
> > > > >
> > > > > AW

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Validation -- Dates pdberger Microsoft Excel Worksheet Functions 4 30th Nov 2007 04:31 AM
Data Validation using Dates =?Utf-8?B?Y2FsZG9n?= Microsoft Excel Worksheet Functions 8 7th Sep 2007 01:48 AM
Data validation - dates Slot Microsoft Excel Misc 1 6th Sep 2007 08:40 AM
Dates using Data / Validation susan Microsoft Excel Programming 2 12th Feb 2006 11:28 PM
Data Validation of Dates Tanya Shepherd Microsoft Access Form Coding 2 18th Jul 2003 02:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:33 AM.