Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Data Validation for dates

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Data Validation for dates

It doesn't need any formula.
DataValidation
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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Data Validation for dates

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.
DataValidation
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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Data Validation for dates

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.
DataValidation
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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default Data Validation for dates

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.
DataValidation
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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Data Validation for dates

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.
DataValidation
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Validation -- Dates pdberger Excel Worksheet Functions 4 November 30th 07 04:31 AM
Data Validation using Dates caldog Excel Worksheet Functions 8 September 7th 07 01:48 AM
Data validation - dates Slot Excel Discussion (Misc queries) 1 September 6th 07 08:40 AM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
Validation using dates... w/o actual dates thinartweakens Excel Discussion (Misc queries) 4 August 2nd 06 03:00 AM


All times are GMT +1. The time now is 02:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"