#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default Data Validation

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Data Validation

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default Data Validation

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Data Validation

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Data Validation

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Data Validation

.... 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default Data Validation

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
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
Validation Data using Validation Table cell range..... Dermot Excel Discussion (Misc queries) 16 January 5th 10 09:35 PM
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data validation with validation lists and combo boxs Keith Excel Discussion (Misc queries) 1 October 12th 06 11:08 AM
Refresh existing data when changed in data validation list problem girl New Users to Excel 1 September 28th 05 10:19 PM


All times are GMT +1. The time now is 10:25 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"