![]() |
Forumlas for Dates
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??? |
Forumlas for Dates
=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: 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??? |
All times are GMT +1. The time now is 05:28 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com