Ever found yourself needing to count the number of business days between two dates in Excel, excluding weekends and holidays? It's a common task in business planning, project management, and many other fields, but Excel's standard functions can't handle it out of the box. Don't worry, though. With a simple formula, you can achieve this in no time. Let's dive into how to do it.

Before we get started, let's clear something up. When we talk about business days, we're referring to weekdays, meaning Monday to Friday. We'll exclude Saturdays (Saturday) and Sundays (Sunday), and any holidays you want to specify. Now, let's see how to count business days in Excel.

Understanding the Formula
Excel's standard functions like NETWORKDAYS() and WORKDAY() are quite powerful, but they don't exclude weekends by default. To count business days, we'll use these functions along with some clever conditional logic. The formula looks a bit intimidating at first, but once you understand how it works, it's simple to use. Here's the structure:

NETWORKDAYS(start_date, end_date, [holidays])
The formula returns the number of business days between start_date and end_date, excluding weekends and holidays (if provided). If you don't have any specific holidays, you can ignore the [holidays] part. Now, let's break down the formula with examples.

Count Business Days without Holidays
If you only want to count weekdays, you can use the basic NETWORKDAYS() function. Let's say your start date is in cell A1 and the end date in cell A2. The formula would be:
NETWORKDAYS(A1, A2)

This formula returns the number of business days between the two dates, excluding weekends. Now, let's see how to handle holidays.
Count Business Days including Holidays
When you have specific holidays you want to exclude, you can use the NETWORKDAYS() function with the [holidays] argument. To do this, you'll need an array containing the holiday dates. Here's how you can do it:

NETWORKDAYS(A1, A2, [holiday_array])
Replace [holiday_array] with actual holiday dates. For example, if holidays are in cells B1:B5, you'd input:





NETWORKDAYS(A1, A2, B1:B5)
This formula returns the number of business days between the two dates, excluding weekends and the specified holidays.
Counting Business Days with WORKDAY()
Sometimes, you might need to count business days from a specific date, forward or backward, until a specific date. This is where the WORKDAY() function comes in handy. It's similar to NETWORKDAYS(), but it allows you to specify a number of business days, and it returns a date instead of a count.
Here's the basic structure of WORKDAY():
WORKDAY(start_date, num_days, [holidays])
The first two arguments are the starting date and the number of business days to count. They function similarly to NETWORKDAYS(). The third argument is optional and works the same way as in NETWORKDAYS().
Count Business Days Forward from a Start Date
To count business days forward from a start date, let's say you have your start date in cell A1 and the number of business days in cell A2. The formula would be:
WORKDAY(A1, A2)
This returns the end date after a specified number of business days from the start date, excluding weekends. If you have holidays to exclude, you can include them like this:
WORKDAY(A1, A2, B1:B5)
This returns the end date after a specified number of business days from the start date, excluding weekends and specified holidays.
Count Business Days Backward from an End Date
You can also count business days backward from an end date to find the start date. Using the same examples from above, you can use this formula:
WORKDAY(A3, -A2, B1:B5)
This returns the start date before a specified number of business days from the end date, excluding weekends and specified holidays. The "-" sign in front of A2 makes the number negative, counting backward instead of forward.
Now that you know how to count business days in Excel, you're ready to tackle those complex business plans, project schedules, or other tasks that require precise date counting. Happy calculating!