Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Calculating differences between dates in Excel is often very straightforward. It's simply a matter of subtracting information from two different cells. So in Cell D4 here, we just simply want to find out the amount of time elapsed from a starting date to an ending date here. Equal the later date minus the earlier date, 170 days. So that tells us a lot. But in a working environment sometimes we want to know the actual working days between the two dates.
So here's the same data here. Here we want to use the function =NETWORKDAYS. Now as I'm typing this, this is a long entry or longer than some. I see it right here. So I'll just click on it. Press the tab key. It pops into place. Starting date right here, comma, ending date. For the moment, we'll ignore holidays. It's not going to be 170. This function will not count Saturdays and Sundays. So our answer is 123, quite a bit pure than the 170 that we see over here.
But we do have holidays involved here. And of course, over this time period we've got let July 4th and Labor Day and Thanksgiving. The holidays are listed over here, fairly comprehensive. Let's do the same thing all over again. I'm just going to copy this function over here. And let's jump in and make an adjustment. NETWORKDAYS does allow us to also not include those holidays. Now one bit of information here too. In the year 2010, July 4th is on a Sunday. So it's not going to be discounted twice, because it's a weekend it will be counted, but July 5th, which is Monday, is counted as a holiday.
Now we can pick up the whole list here. It's okay if we include those that are beyond the range. That won't hurt anything. So if we don't count the holidays here, how many working days do we have? 119, four fewer. It's important to note that in both of these examples with NETWORDAYS too, that the starting date and the ending date are both calculated in the example. So if this happens to represent a project and it starts on noon on a certain day and ends on noon on another day, then you'd want to subtract 1 from this answer.
Most of the time that's not a major concern, but do be alert to that if it's a shorter timeframe. Both dates are counted. So the function NETWORKDAYS is a great tool for calculating differences of working days between two dates.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 74476 Viewers
80 Video lessons · 129699 Viewers
52 Video lessons · 63942 Viewers
59 Video lessons · 49724 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.