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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Check out the NETWORKDAYS function in Excel Help. It's in the Analysis ToolPak Add-In, which must be installed.
 
Upvote 0
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,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

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