Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
*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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date Validation | Excel Worksheet Functions | |||
Validation on date | Excel Worksheet Functions | |||
date validation | Excel Worksheet Functions | |||
Date Validation - Must equal Sundays date | Excel Discussion (Misc queries) | |||
Date validation | Excel Discussion (Misc queries) |