day of the week dates

  • Thread starter JK (New England Coffee)
  • Start date
J

JK (New England Coffee)

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
 
B

Bob Phillips

JK said:
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

Check that the weekday is 7

=IF(WEEKDAY(A1)=7,"OK","Not OK")

This of course assumes that the date is in a cell.
 
A

aidan.heritage

Better yet, put that in the data validation box - set it to custom and
have the test

=weekday(a1)=7
 
Top