Yes, you can calculate working days in Excel without doing the math manually. The standard method uses the NETWORKDAYS function to count weekdays between two dates, excluding weekends, and the NETWORKDAYS.INTL function to customize which days are weekends. You will need a modern version of Excel (2013 or later) on a PC or Mac, or a web version that supports these formulas.

What You'll Need

  • A computer with Microsoft Excel installed (desktop, mobile, or web version).
  • Two dates: a start date and an end date.
  • A list of specific dates to exclude, such as public holidays, if you are using NETWORKDAYS.INTL.

Step-by-Step

  1. Open your spreadsheet. Click on any empty cell where you want the final working day count to appear.
  2. Enter the base formula. Type the following into the cell:
    =NETWORKDAYS(start_date, end_date)
    Replace start_date and end_date with the actual cell references (e.g., A2 and B2) or typed dates (e.g., "1/1/2024" and "1/31/2024"). Press Enter.
  3. Excel calculates the result. The cell will display the number of weekdays (Monday through Friday) between the two dates, automatically excluding Saturdays and Sundays.
  4. Include holidays (optional). If you need to exclude specific public holidays, use the NETWORKDAYS.INTL function with three arguments:
    =NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
    Type the dates of your holidays in a separate range of cells, say C2:C10.
  5. Specify the weekend. The third argument is a code that tells Excel which days of the week are the weekend. The default is 1, meaning Saturday and Sunday. To use a Friday-Saturday weekend, use 7. To use a Thursday-Friday weekend, use 6. You can also use a string of seven 0s and 1s to define the weekend, where 1 means a non-working day (e.g., "0000110" for Monday through Friday are days off).
  6. Combine the formula. Here is an example formula that counts working days from January 1st to January 31st, excluding Saturdays, Sundays, and holidays listed in cells C2 through C10:
    =NETWORKDAYS.INTL("1/1/2024", "1/31/2024", 1, C2:C10)
    Press Enter to see the final count.
  7. Check the result. Verify the count by manually counting the days on a calendar. Ensure that the start and end dates are included if they are weekdays, and that no holidays were double-counted.

Common Mistakes

A common error is not enclosing text strings (like dates or holiday names) in quotation marks. For example, =NETWORKDAYS(A2, B2, "C2:C10") will return an error because Excel will try to read the range C2:C10 as text, not as a set of dates. The correct format is =NETWORKDAYS(A2, B2, C2:C10).

Another mistake is confusing the order of the dates. The start date must be the first argument and the end date the second. If you put them in the wrong order, the result will be a negative number or zero.

Also, remember that NETWORKDAYS.INTL requires the weekend argument to be a number or a string. If you leave it out, Excel will default to a Saturday-Sunday weekend, which may not be accurate for your region.

Tips

Use named ranges for your holiday list. Instead of typing C2:C10 in every formula, select the holiday cells, go to the Formulas tab, and choose "Define Name". Name the range "Holidays". Your formula can then be written as =NETWORKDAYS.INTL(A2, B2, 1, Holidays) for much cleaner code.

For recurring holidays that fall on different days each year, you can use the DATE function to create a dynamic holiday list. For example, to create a list of US New Year's Day for every year, you could use =DATE(YEAR(A2), 1, 1) in a column, where A2 is the year you are calculating for. This will automatically update the date to the correct day of the week each year.

Troubleshooting

If the formula returns a #VALUE! error, check that all the arguments are valid dates. Ensure that the start and end date cells are formatted as dates and not as text. Also, verify that the holiday range contains only date values.

If the result is unexpected, check the weekend argument. If you are using the string method, make sure the string is exactly seven characters long and contains only 0s and 1s. If you are using the number method, ensure you are using the correct code for your specific weekend configuration.

Frequently Asked Questions

How do I calculate working days including weekends?

You can simply subtract the two dates: =end_date - start_date. This will give you the total number of days, including weekends.

Can I exclude a single day, like a holiday?

Yes, you can add the holiday date as the fourth argument to the NETWORKDAYS.INTL function. You can also list multiple holidays in a range of cells.

What if my weekend is Friday and Saturday?

Use the number 7 as the third argument in the NETWORKDAYS.INTL function. The formula would look like this: =NETWORKDAYS.INTL(A2, B2, 7, C2:C10).

How do I count working days backwards from today?

You can use the TODAY() function as one of the date arguments. For example, to count working days from today back to a start date in cell A2, use: =NETWORKDAYS(A2, TODAY()).

Does Excel have a built-in list of holidays?

No, Excel does not have a built-in list of holidays. You must create your own list or import one from a data source. However, the NETWORKDAYS.INTL function allows you to define your own weekend, which is helpful for regions with different weekend schedules.