I've created a form in Excel.
This form has a date field that must be a Saturday date.
I want to validate the field and allow only dates that fall on a Saturday.
Does anyone have any idea how to do this?
Your help would be most appreciated.
Regards,
Jason
--
Jason Kaloyanides
Tech. Support Coord.
New England Coffee
Sales DepartmentJK (New England Coffee) wrote:
gt; I've created a form in Excel.
gt;
gt; This form has a date field that must be a Saturday date.
gt; I want to validate the field and allow only dates that fall on a Saturday.
gt;
gt; Does anyone have any idea how to do this?
gt; Your help would be most appreciated.
gt;
gt; Regards,
gt; Jason
Check that the weekday is 7
=IF(WEEKDAY(A1)=7,quot;OKquot;,quot;Not OKquot;)
This of course assumes that the date is in a cell.
Better yet, put that in the data validation box - set it to custom and
have the test
=weekday(a1)=7
- Sep 29 Fri 2006 20:09
day of the week dates
close
全站熱搜
留言列表
發表留言