close

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

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()