Tech Tips Home
The Best Tech Tips And Daily Deals

WorldStart Tech Tip And Store Search

Like what you see here? Subscribe to the Tech Tips newsletter!   Email: Subscribe

How Many More Work Days?

Wednesday, March 9th, 2005 by | Filed Under: MS Excel

Ever need to calculate the number of workdays left until a deadline?

Did you pull out your ever-present calendar and begin counting?

Oops, lost count! Start over.

Or not.

What about letting MS Excel do the counting for you?

If you have a start date, end date and a list of any weekday holidays that shouldn’t be counted (the function automatically leaves weekends out of the count) then you’ve got the ingredients for a quick Excel answer to your question.

The first thing you need to do is to enter in Excel your start date, end date and any weekday holidays.

For example, you could quickly set up something like this:

Now, in another cell you’re ready to enter the formula…

=NETWORKDAYS(start_date, end_date, holidays)

“Start_date”, “end_date” and “holidays” from the formula should be replaced with the location of the cell containing the information. (Unless you’re into Naming ranges. After you’ve named the ranges to your liking you can use them in the formula.)

If you have more than one holiday date then simply enter (after the second comma) the location of the first cell, a colon and then the location of the cell containing the last date.

The above example would require the formula

=NETWORKDAYS(B2,C2,A2)

That’s it.

When you hit enter you should get a count which equals the number of workdays that exist within your specified information.

Here’s a special note: this function is a part of an Add-In ToolPak so if you’re using an earlier version of Excel and getting the error #NAME then you’ll need to go to the Tools menu, Add-Ins choice. If you’re using a newer version (with the ribbon), click the Office Button in the upper left and click Excel Options at the bottom.

In the Excel Options window, click Add-Ins.

Then, at the bottom of the Excel Options window, click the Go button.

Now you’ve got the Add-Ins window.

In the Add-Ins window check the Analysis ToolPak choice and click OK.

I found that the Add-In didn’t immediately remove the error but that when I restarted Excel everything worked wonderfully!

~ April

• Tech Tips Daily - Become a tech pro! Get the very best tech and computer help sent directly to your email every weekday!

• WorldStart's Daily Deals - Every week, we send out great deals in our Daily Deals newsletter. Many of these deals are exclusively for our Daily Deals newsletter subscribers and can't be found with our regular specials.

• Just For Grins - Each issue includes a couple clean jokes, some funny quotes, and a hilarious reader's story. Newsletter is sent five days a week.

Subscribe

We only use it to send you the newsletters you request. It is NEVER disclosed to a third party for any reason, ever! Plus, if you decided you don't like our newsletters (don't worry, you'll love them), unsubscribing is fast and easy.

Tech Tips Daily

Become a tech pro! Get the very best tech and computer help sent directly to your email every weekday!

Tech Tips Weekly

The week's best in tech and computer help. Get your issue sent to your email every Friday!

WorldStart's Daily Deals

The very best deals on the Internet! Get a new set of incredible sales every day of the week!

Just For Grins

Clean jokes, funny quotes, and hilarious comics. Sent 5 times a week straight to your email.

Subscribe

Categories:
Archives: