Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.charting
|
|||
|
|||
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??? |
#2
Posted to microsoft.public.excel.charting
|
|||
|
|||
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??? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Forumlas | Excel Discussion (Misc queries) | |||
Forumlas or scripts? | Excel Discussion (Misc queries) | |||
how to transpose forumlas | Excel Worksheet Functions | |||
Forumlas Not Executing | Excel Discussion (Misc queries) | |||
Help with Commission forumlas | Excel Worksheet Functions |