Help with counting # of workdays

CHARLESJOSEPH

New Member
Joined
Jul 31, 2008
Messages
13
I did spend some time searching the forum but couldn't find an answer. This will be a piece of cake for all you Excel geniuses...:)

Have spreadsheet with the following columns:

Date Received - date a work item is received
Date Completed - date a work item is complete
Days To Complete - # of workdays taken to complete item
Days Outstanding - # of workdays item is outstanding as of today

For Days To Complete, if Date Received and Date Completed is populated, this should return the # of weekdays less holidays between Date Received and Date Completed; otherwise this should be blank.

For Days Outstanding, if Date Received is populated and Date Completed is not populated, this should return the # of weekdays less holidays between Date Received and Current Date; otherwise this should be blank.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
A2 = Date Recieved
B2 = Date Complete
$F$2:$F$10 = list of holiday dates (yes, you need to manually enter holiday dates)

Days to complete
=IF(OR(A2="",B2=""),"",NETWORKDAYS(A2,B2,$F$2:$F$10))

Days outstanding
=IF(AND(A2<>"",B2=""),NETWORKDAYS(A2,TODAY(),$F$2:$F$10),"")

These formulas require the Data Analysis Toolpack from Tools - Addins


Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top