View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default day of the week dates

JK (New England Coffee) wrote:
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.