A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

need qualifier statement



 
 
Thread Tools Display Modes
  #1  
Old May 17th, 2009, 02:04 PM posted to microsoft.public.excel.worksheet.functions
Abbey Somebody
external usenet poster
 
Posts: 3
Default 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.
  #2  
Old May 17th, 2009, 02:30 PM posted to microsoft.public.excel.worksheet.functions
Gary''s Student
external usenet poster
 
Posts: 7,584
Default 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.

  #3  
Old May 17th, 2009, 02:42 PM posted to microsoft.public.excel.worksheet.functions
Archimedes' Lever
external usenet poster
 
Posts: 47
Default 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.
  #4  
Old May 17th, 2009, 02:53 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default 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
  #5  
Old May 17th, 2009, 03:06 PM posted to microsoft.public.excel.worksheet.functions
Archimedes' Lever
external usenet poster
 
Posts: 47
Default 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.
  #6  
Old May 17th, 2009, 03:11 PM posted to microsoft.public.excel.worksheet.functions
Abbey Somebody
external usenet poster
 
Posts: 3
Default 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.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.