Data Validation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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
 
Try this Custom Formula:

=OR(DAY(A1)=4,DAY(A1)=12,DAY(A1)=20,DAY(A1)=28)

HTH,
Elkar
 
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
 
Evidently, yes...that works, too!

***********
Regards,
Ron

XL2002, WinXP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top