Ed,
For data validation and conditional formatting, use
=IF(AND(WEEKDAY(A1)>=2,WEEKDAY(A1)<=5),TRUE,FALSE)
This returns True or False indicating whether A1 is between Monday and
Thursday.
To count the number of dates in A1:A10 that are between Monday and Thursday,
use
=SUMPRODUCT((WEEKDAY(A1:A10)>=2)*(WEEKDAY(A1:A10)<=5))
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
(email address is on the web site)
"Ed" <ed_millis@NO_SPAM.yahoo.com> wrote in message
news:%(E-Mail Removed)...
>I would like to create a Task Sheet with Due Dates. The Due Date would be
>a certain number of working days from the Order Date. Our work week is
>four 10-hour days, Monday - Thursday. I wanted to set up a color-code for
>the Due Date with data validation, but got lost trying to figure out how to
>count only Mon-Thurs, or not count Fri, Sat and Sun?? Is this easily
>possible with validation? Or would a macro that evaluates each date on
>open be better?
>
> Ed
>