MrExcel's Learn Excel #399 - Workday Calculations

If you like this content, please consider visiting the video on YouTube and subscribe to the MrExcel Channel to show your support!
This video has been published on Oct 12, 2009.
There are a couple of obscure functions in the analysis toolpak that will allow you to calculate how many workdays have elapsed. Enter a hire date and today's date, and you can calculate the number of workdays. This function even allows for you to enter a range of company holidays which are factored into the calculation. Episode 399 shows you how.

This blog is the video podcast companion to the book, Learn Excel from MrExcel. Download a new two minute video every workday to learn one of the 277 tips from the book!
maxresdefault.jpg


Transcript of the video:
Hey, welcome back to the MrExcel netcast, I'm Bill Jelen.
Today we have a question that came in in one of my power Excel seminars that was in the last couple of weeks.
They wanted to try and figure out how many workdays someone had worked.
So we have a Hire Date, and we know what today is, we want to try and figure out if that person has worked enough days to get out of their Probationary period.
And there's a couple of great functions available, but they're only in the Analysis tool-pack.
So before you try these functions, you need to go to Tools, Add-Ins, and make sure that the Analysis tool-pack option is checked.
It's always installed, but it's not always turned on by default on every computer.
The other beautiful thing about this function is that it can handle your own company work days.
So you see, off to the right here, I've entered the days that we have off in 2007, and to create the formula we have the Hire Date in column B, today's date in column C. And then the function in column D is called NETWORKDAYS.
And you have to specify the first date, the last date, and then optionally, specify the range of holidays, and Excel will go through and count how many Monday through Fridays they worked minus the holidays.
So accept this, it works, and then over here in column E, I have a simple IF function, if the result in D is greater than 60 use Regular, otherwise Probationary.
The other function that’s related to NETWORKDAYS is called the WORKDAY function, this is if you need to figure out when the probationary period ends.
So we start from the date in cell B4, extend out 60 workdays, keeping in mind the holidays in this range off to the side, and that will calculate a new date for you.
So two great functions, the WORKDAY function and the NETWORKDAYS, plural, function, will allow you to figure out, if your work week is Monday through Friday, any number of work days in the future, or how many work days have elapsed.
Hey, there you have it, stop by next time for another tip from MrExcel!
 

Forum statistics

Threads
1,214,661
Messages
6,120,796
Members
448,994
Latest member
rohitsomani

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