Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 63
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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.
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
countif formula: 2nd column qualifier AJB Excel Discussion (Misc queries) 6 December 27th 07 05:21 PM
Invalid qualifier error in macro orquidea Excel Discussion (Misc queries) 0 December 19th 07 06:18 PM
Add qualifier to andif statement litngldy New Users to Excel 4 November 8th 06 10:20 PM
setting text qualifier in Excel Lyle Excel Discussion (Misc queries) 1 June 8th 05 06:28 PM
IF function using a dates as the qualifier.. Qaspec Excel Worksheet Functions 2 January 19th 05 09:27 PM


All times are GMT +1. The time now is 08:26 AM.

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

About Us

"It's about Microsoft Excel"