Computer Tutoring Logo

Excel Formula for Working Days

Learn how to calculate the number of working days between two dates in Excel using the NETWORKDAYS function. This guide covers how to exclude weekends and holidays, ensuring accurate calculations for tasks like annual leave accrual. Follow our step-by-step instructions to master this essential Excel skill!

Check Out Our Excel Videos
The Excel logo in front of a spreadsheet.

How to Work Out Working Days?

Sometimes you just need the Excel formula for working days. Basically, to find out how many days there are between two dates.

Let's say you have a spreadsheet that looks like:

Need Help with NETWORKDAYS, Date Formulas and Excel Skills?

We offer live instructor-led Excel training for teams who need practical help with formulas, date calculations, reporting and day-to-day spreadsheet work.

Excel formula for working days

As you can see from the above formula that takes the start date away from todays date. The result will be displayed in cell C2. There's no need to give you the result. I reckon that you know the answer to that. There's just one thing, and that's formatting. You may notice that the number of days result is in the form of a date. Simply change the format back to the "General" format.
BTW: I used the TODAY() function in cell B2 to work out what Today's date was.

The problem with this date calculation in Excel, is that it doesn't tell you how many working days. Now, this might be important should you want to work out how many days annual leave you've accrued. Especially as most companies work that out based on the number of actually working days. I mean you may have worked at a company for 10+ years but how many days have you actually done?

NETWORKDAYS Function

Enter the NETWORKDAYS function. This little baby's job is to calculate working days between two dates in Excel. It also has the ability to work out holidays, but we'll cover that later. But basically it's the ideal Excel formula for working days.

Let's work out how many days minus weekends enter the following forumula:
=NETWORKDAYS(A2,B2)

NETWORKDAYS function - The Excel Formula for Working Days

Once you have sorted out the date formatting problem (see above) then your Excel sheet should look like:

NETWORKDAYS missing the weekends

Now as you can see from above the difference between number of days and number of working days. Now we need to introduce the holidays. That is everyday you want the Number or Working Days to Exclude. If you are trying this yourself you can use the table below:
(Just one little note is that should you wonder why Christmas Day and Boxing Day is on a different date, those dates are substitute dates. I've marked some of them for you. Let's face it should Christmas Day fall on a weekend we need another day off don't we?

Holiday Date
New Year's Day01/01/2020
Good Friday10/04/2020
Easter Monday13/04/2020
Early May Bank Holiday08/05/2020
Spring Bank Holiday25/05/2020
Summer Bank Holiday31/08/2020
Christmas Day25/12/2020
Boxing Day (Substitute)28/12/2020
New Year's Day01/01/2021
Good Friday02/04/2021
Easter Monday05/04/2021
Early May Bank Holiday03/05/2021
Spring Bank Holiday31/05/2021
Summer Bank Holiday30/08/2021
Christmas Day (Substitute)27/12/2021
Boxing Day (Substitute)28/12/2021
New Year's Day (Substitute)03/01/2022
Good Friday15/04/2022
Easter Monday18/04/2022
Early May Bank Holiday02/05/2022
Spring Bank Holiday02/06/2022
Queen's Platinum Jubilee03/06/2022
Summer Bank Holiday29/08/2022
Boxing Day26/12/2022
Christmas Day (Substitute)27/12/2022
New Year's Day (Substitute)02/01/2023
Good Friday07/04/2023
Easter Monday10/04/2023
Early May Bank Holiday01/05/2023
Bank Holiday for the Coronation of King Charles III08/05/2023
Spring Bank Holiday29/05/2023
Summer Bank Holiday28/08/2023
Christmas Day25/12/2023
Boxing Day26/12/2023
New Year's Day01/01/2024
Good Friday29/03/2024
Easter Monday01/04/2024
Early May Bank Holiday06/05/2024
Spring Bank Holiday27/05/2024
Summer Bank Holiday26/08/2024
Christmas Day25/12/2024
Boxing Day26/12/2024
New Year's Day01/01/2025
Good Friday18/04/2025
Easter Monday21/04/2025
Early May Bank Holiday05/05/2025
Spring Bank Holiday26/05/2025
Summer Bank Holiday25/08/2025
Christmas Day25/12/2025
Boxing Day26/12/2025
New Year's Day01/01/2026
Good Friday03/04/2026
Easter Monday06/04/2026
Early May Bank Holiday04/05/2026
Spring Bank Holiday25/05/2026
Summer Bank Holiday31/08/2026
Christmas Day25/12/2026
Boxing Day (Substitute)28/12/2026
New Year's Day01/01/2027
Good Friday26/03/2027
Easter Monday29/03/2027
Early May Bank Holiday03/05/2027
Spring Bank Holiday31/05/2027
Summer Bank Holiday30/08/2027
Christmas Day (Substitute)27/12/2027
Boxing Day (Substitute)28/12/2027
New Year's Day (Substitute)03/01/2028
Good Friday14/04/2028
Easter Monday17/04/2028
Early May Bank Holiday01/05/2028
Spring Bank Holiday29/05/2028
Summer Bank Holiday28/08/2028
Christmas Day25/12/2028
Boxing Day26/12/2028
New Year's Day01/01/2029
Good Friday30/03/2029
Easter Monday02/04/2029
Early May Bank Holiday07/05/2029
Spring Bank Holiday28/05/2029
Summer Bank Holiday27/08/2029
Christmas Day25/12/2029
Boxing Day26/12/2029
New Year's Day01/01/2030
Good Friday19/04/2030
Easter Monday22/04/2030
Early May Bank Holiday06/05/2030
Spring Bank Holiday27/05/2030
Summer Bank Holiday26/08/2030
Christmas Day25/12/2030
Boxing Day26/12/2030

 

Once you've copied and pasted the above into an Excel spreadsheet it could look like this:

Public Holidays for the NETWORKDAYS function

Or why not download the NETWORKDAYS bank holiday file and update it with the dates above through 2030.

Great so now that you've downloaded the file let's add it to the formula. For convenience I've placed all the holidays on a seperate sheet. But you might want to place them in a separate Excel workbook. Now, go back to where you typed the NETWORKDAYS function and adjust it as follows:

NETWORKDAYS Excel Function along with Bank Holidays

Note that I changed the name of the sheet with all the Bank Holidays on to "Holidays".

Press Enter. Now you can see the difference between the two dates in actually working days. This will include August bank holidays along with all the other holidays you know and love. Moreover, should you want to include your own holidays, then simply add your holidays to the holiday sheet.

In conclusion, by using the NETWORKDAYS function you will be able to calculate working days between two dates in Excel using the public holiday dates above through to the end of 2030. Additionally, in calculating your working days please ensure you have added any extra holidays to the public holiday sheet.

Thank you for subscribing. You'll receive our newsletter soon.