ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   need qualifier statement (https://www.excelbanter.com/excel-worksheet-functions/231089-need-qualifier-statement.html)

Abbey Somebody

need qualifier statement
 
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.

Gary''s Student

need qualifier statement
 
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!
--
Gary''s Student - gsnu200853


"Abbey Somebody" wrote:

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.


Archimedes' Lever

need qualifier statement
 
On Sun, 17 May 2009 06:30:08 -0700, Gary''s Student
wrote:

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.

Dave Peterson

need qualifier statement
 
If the cell is A1:

Formula is:
=WEEKDAY(A1)=7



Abbey Somebody wrote:

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.


--

Dave Peterson

Archimedes' Lever

need qualifier statement
 
On Sun, 17 May 2009 08:53:52 -0500, Dave Peterson
wrote:

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.

Abbey Somebody

need qualifier statement
 
On Sun, 17 May 2009 07:06:25 -0700, Archimedes' Lever
wrote:

On Sun, 17 May 2009 08:53:52 -0500, Dave Peterson
wrote:

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.


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.


All times are GMT +1. The time now is 02:27 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com