--SEARCH--
Back up your PC and be sure to restore it

Tip #3965 - How Many More Workdays?

Printer Friendly Version | E-Mail This Tip

Like These Tips? Get 'Em Free In Your E-mail Everyday!

E-mail Address:

How Many More Workdays?

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

What did you do? 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), you've got the ingredients for a quick Excel answer to your question!

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

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, that is. After you've named the ranges to your liking, you can use them in the formula).

If you have more than one holiday date, 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 this formula:

=NETWORKDAYS(B2,C2,A2:A4)

That's it!

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

Here's a special note: This function is part of an Add-In ToolPak, so if you're getting the error of #NAME, you'll need to go to the Tools menu, Add-Ins choice.

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 when I restarted Excel, everything worked wonderfully. Give it a try!

~ April

Want To Comment On This Tip? Click Here! We'd love to hear from you :-)

Like These Tips? Get 'Em Free In Your E-mail

Computer & MS Office Tips
Computer Tips & MS Office Tips Daily - Run your Windows PC like a pro! No matter what your skill level, beginner or advanced, you'll find tons of valuable tips, tricks, and ideas in every issue (plus great software deals). Become the computer guru you've always wanted to be! The tip you've just read was in this newsletter!
Computer Tips & MS Office Tips Weekly - If you don't want our Computer Tips newsletter every day, then sign up for this weekly newsletter to get the best information of the week. Sent on Fridays
Our Other Great Newsletters
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
  Life's Adventures - Each issue features a short story. Some of these are of the warm and fuzzy variety, some are sad, some are a little of both, but they all deliver powerful messages. Sent every Tuesday and Thursday.
  Software Deals - Every week, we send out great deals in our Software Deals newsletter. Many of these deals are exclusively for our Software Deals newsletter subscribers and can't be found with our regular specials.

Enter Email address:
 
Your e-mail address is safe with us!
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 'em :-), unsubscribing is fast and easy.

Click Here to find out why we have over 400,000 readers who enjoy our newsletters every week! (And growing fast!)

  (Computer Tips Daily)

.. .Tip Search:  
..
.. Include Cool Sites

Tip Categories