#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default DATE VALIDATION

xp/2003

In column A is a birthdate. A date will also be entered in Column B, but I
want to prevent entry of a date later than the third birthday. Birth date
plus 1095 = the third birthday, but I can't find a validation formula that
Excel will accept for column B to bring off what I want.

Can this be done?
--
William
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default DATE VALIDATION

in cell B2, menu Data|Validation
Allow: Date
Data: Less than or equal to
End Date: =DATE(YEAR(A2)+3,MONTH(A2),DAY(A2))
Highlight cells B2 through B??? (however far down as needed), Choose
Data|Validation, and OK.

--
John C


"William" wrote:

xp/2003

In column A is a birthdate. A date will also be entered in Column B, but I
want to prevent entry of a date later than the third birthday. Birth date
plus 1095 = the third birthday, but I can't find a validation formula that
Excel will accept for column B to bring off what I want.

Can this be done?
--
William

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default DATE VALIDATION

*sigh*
--
John C


"John C" wrote:

in cell B2, menu Data|Validation
Allow: Date
Data: Less than or equal to
End Date: =DATE(YEAR(A2)+3,MONTH(A2),DAY(A2))
Highlight cells B2 through B??? (however far down as needed), Choose
Data|Validation, and OK.

--
John C


"William" wrote:

xp/2003

In column A is a birthdate. A date will also be entered in Column B, but I
want to prevent entry of a date later than the third birthday. Birth date
plus 1095 = the third birthday, but I can't find a validation formula that
Excel will accept for column B to bring off what I want.

Can this be done?
--
William

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default DATE VALIDATION

What validation formula did you try that it wouldn't accept?

Why not:
DV
Allow: date
Less than or equal to:
=DATE(YEAR(A1)+3,MONTH(A1),DAY(A1))

You could use =A1+1095 if you prefer
--
David Biddulph

"William" wrote in message
...
xp/2003

In column A is a birthdate. A date will also be entered in Column B, but
I
want to prevent entry of a date later than the third birthday. Birth
date
plus 1095 = the third birthday, but I can't find a validation formula that
Excel will accept for column B to bring off what I want.

Can this be done?
--
William



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 119
Default DATE VALIDATION

Thanks, all, for your excellent help.
--
William


"David Biddulph" wrote:

What validation formula did you try that it wouldn't accept?

Why not:
DV
Allow: date
Less than or equal to:
=DATE(YEAR(A1)+3,MONTH(A1),DAY(A1))

You could use =A1+1095 if you prefer
--
David Biddulph

"William" wrote in message
...
xp/2003

In column A is a birthdate. A date will also be entered in Column B, but
I
want to prevent entry of a date later than the third birthday. Birth
date
plus 1095 = the third birthday, but I can't find a validation formula that
Excel will accept for column B to bring off what I want.

Can this be done?
--
William






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
Date Validation LM Excel Worksheet Functions 3 October 25th 07 01:59 AM
Validation on date jk Excel Worksheet Functions 3 August 29th 06 01:30 AM
date validation Bri Excel Worksheet Functions 3 January 22nd 06 06:52 PM
Date Validation - Must equal Sundays date jeridbohmann Excel Discussion (Misc queries) 14 November 30th 05 08:40 PM
Date validation patam Excel Discussion (Misc queries) 8 September 3rd 05 05:26 PM


All times are GMT +1. The time now is 04:44 AM.

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"