Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I am trying to limit data entries to only 4 days for a billing cycle of: 4,12,20,28, meaning I can enter a date that it can be 3/4/2006 or 2/12/2005 or 6/28/2007 or 8/20/2010 (just limit days in a date to these 4 days, month and year can be any month and any year), Help please :) Thanks a lot! |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
one way is to put those dates in different cells (e.g. A1:A4):
select some other cell select Data-Data validation-List-Source-mouse select or input manually range A1:A4 then copy the cell to appropriate range HIH "Jean" wrote: Hi, I am trying to limit data entries to only 4 days for a billing cycle of: 4,12,20,28, meaning I can enter a date that it can be 3/4/2006 or 2/12/2005 or 6/28/2007 or 8/20/2010 (just limit days in a date to these 4 days, month and year can be any month and any year), Help please :) Thanks a lot! |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this Custom Formula:
=OR(DAY(A1)=4,DAY(A1)=12,DAY(A1)=20,DAY(A1)=28) HTH, Elkar "Jean" wrote: Hi, I am trying to limit data entries to only 4 days for a billing cycle of: 4,12,20,28, meaning I can enter a date that it can be 3/4/2006 or 2/12/2005 or 6/28/2007 or 8/20/2010 (just limit days in a date to these 4 days, month and year can be any month and any year), Help please :) Thanks a lot! |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
oops, sorry did not read yr post carefully enough
;-( "Jean" wrote: Hi, I am trying to limit data entries to only 4 days for a billing cycle of: 4,12,20,28, meaning I can enter a date that it can be 3/4/2006 or 2/12/2005 or 6/28/2007 or 8/20/2010 (just limit days in a date to these 4 days, month and year can be any month and any year), Help please :) Thanks a lot! |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Through a quirk of your particular scenario, this works
Data Validation for Cell A1 Allow: Custom Formula: =MOD(DAY(A1)/4,2)=1 Does that help? *********** Regards, Ron XL2002, WinXP "Jean" wrote: Hi, I am trying to limit data entries to only 4 days for a billing cycle of: 4,12,20,28, meaning I can enter a date that it can be 3/4/2006 or 2/12/2005 or 6/28/2007 or 8/20/2010 (just limit days in a date to these 4 days, month and year can be any month and any year), Help please :) Thanks a lot! |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
.... or (presumably) =MOD(DAY(A1),8)=4 ?
-- David Biddulph "Ron Coderre" wrote in message ... Through a quirk of your particular scenario, this works Data Validation for Cell A1 Allow: Custom Formula: =MOD(DAY(A1)/4,2)=1 Does that help? *********** Regards, Ron XL2002, WinXP "Jean" wrote: Hi, I am trying to limit data entries to only 4 days for a billing cycle of: 4,12,20,28, meaning I can enter a date that it can be 3/4/2006 or 2/12/2005 or 6/28/2007 or 8/20/2010 (just limit days in a date to these 4 days, month and year can be any month and any year), Help please :) Thanks a lot! |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Evidently, yes...that works, too!
*********** Regards, Ron XL2002, WinXP "David Biddulph" wrote: .... or (presumably) =MOD(DAY(A1),8)=4 ? -- David Biddulph "Ron Coderre" wrote in message ... Through a quirk of your particular scenario, this works Data Validation for Cell A1 Allow: Custom Formula: =MOD(DAY(A1)/4,2)=1 Does that help? *********** Regards, Ron XL2002, WinXP "Jean" wrote: Hi, I am trying to limit data entries to only 4 days for a billing cycle of: 4,12,20,28, meaning I can enter a date that it can be 3/4/2006 or 2/12/2005 or 6/28/2007 or 8/20/2010 (just limit days in a date to these 4 days, month and year can be any month and any year), Help please :) Thanks a lot! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validation Data using Validation Table cell range..... | Excel Discussion (Misc queries) | |||
data validation invalid in dynamic validation list | Excel Discussion (Misc queries) | |||
data validation invalid in dynamic validation list | Excel Worksheet Functions | |||
Data validation with validation lists and combo boxs | Excel Discussion (Misc queries) | |||
Refresh existing data when changed in data validation list | New Users to Excel |