need qualifier statement

A

Abbey Somebody

Hey guys...

I have a weekly check sheet and the days of the week auto-fill from the
"week starting date" that I fill in in another cell. That works fine. I
gave the week starting date cell a name of StrtDate

My company's start date begins on Saturday, so if one enters the wrong
date in week starting date cell, the first day shown on the check list
area is not Saturday, and the person should see right away that they have
entered an incorrect date. I want to automate that check.

Would I simply place a formula in the data validation box for the
starting date cell that locks it to only Saturdays being valid entries?
If so, can you give that formula string? The data validations I saw for
dates did not allow such discreet dissemination, so I presume it is a
custom validation formula.
 
G

Gary''s Student

If you want the user to only pick a Saturday, then somewhere in an un-used
column, enter:

5/16/2009
5/23/2009
5/30/2009
6/6/2009
6/13/2009
6/20/2009
6/27/2009
7/4/2009
7/11/2009
7/18/2009
7/25/2009
8/1/2009
8/8/2009
8/15/2009
8/22/2009
8/29/2009
9/5/2009
9/12/2009
9/19/2009
9/26/2009
10/3/2009
10/10/2009
10/17/2009
10/24/2009
10/31/2009
11/7/2009
11/14/2009
11/21/2009
11/28/2009
12/5/2009
12/12/2009
12/19/2009
12/26/2009


and then set the Data Validation to pick from that list. That way there is
no opportunity for bad entry. The user just clicks and moves on!
 
A

Archimedes' Lever

If you want the user to only pick a Saturday, then somewhere in an un-used
column, enter:

5/16/2009
5/23/2009
5/30/2009
6/6/2009
6/13/2009
6/20/2009
6/27/2009
7/4/2009
7/11/2009
7/18/2009
7/25/2009
8/1/2009
8/8/2009
8/15/2009
8/22/2009
8/29/2009
9/5/2009
9/12/2009
9/19/2009
9/26/2009
10/3/2009
10/10/2009
10/17/2009
10/24/2009
10/31/2009
11/7/2009
11/14/2009
11/21/2009
11/28/2009
12/5/2009
12/12/2009
12/19/2009
12/26/2009


and then set the Data Validation to pick from that list. That way there is
no opportunity for bad entry. The user just clicks and moves on!


No. That ties it to a single year. It should be very easy to tie
every entry to whether or not it falls on a Saturday.
 
D

Dave Peterson

If the cell is A1:

Formula is:
=WEEKDAY(A1)=7



Abbey said:
Hey guys...

I have a weekly check sheet and the days of the week auto-fill from the
"week starting date" that I fill in in another cell. That works fine. I
gave the week starting date cell a name of StrtDate

My company's start date begins on Saturday, so if one enters the wrong
date in week starting date cell, the first day shown on the check list
area is not Saturday, and the person should see right away that they have
entered an incorrect date. I want to automate that check.

Would I simply place a formula in the data validation box for the
starting date cell that locks it to only Saturdays being valid entries?
If so, can you give that formula string? The data validations I saw for
dates did not allow such discreet dissemination, so I presume it is a
custom validation formula.
 
A

Archimedes' Lever

If the cell is A1:

Formula is:
=WEEKDAY(A1)=7

It was accepted as a custom validation criteria, but it did not create
a cell where only Saturday dates are valid entries.
 
A

Abbey Somebody

It was accepted as a custom validation criteria, but it did not create
a cell where only Saturday dates are valid entries.

OK. I used the "StrtDate" cell name (previously mentioned) in place of
"A1", and used the date format in the validation dialogs, and selected
"equal to". Now it does reject all but Saturday entries. Thank you,
Sir.
 

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

Top