Forumlas for Dates

N

Nancy S

I need to know the # of workdays between 2 dates (I know of the NETWORKDAYS
function).
The problem is that if one of the days in that range falls on a Fri, I need
to subtract 1 more day from the workweek.

It appears the WEEKDAY function does not allow you to consider a range of
dates, only a specific date.

One option I thought of is including all Fri dates in the holiday field when
building the formula so it will exclude those dates.
This will be a bit time consuming. Any other ideas???
 
S

Stefi

=NETWORKDAYS(A1,B1)-INT((B1-A1)/7)+(WEEKDAY(A1,2)=5)

This formula subtracts 1 for each Fri between A1 and B1.

--
Regards!
Stefi



„Nancy S†ezt írta:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top