Logical Tips logo BBBOnLine Reliability Seal
  Site Contents  
  Most Recent Articles  
  Most Popular Articles  
 Windows 
  Time-Saving Tips  
  Configuration  
  File Management  
  Windows Explorer  
 Microsoft Office 
  Word Tips  
  Excel Tips  
  PowerPoint Tips  
  Browsers  
 Internet 
  Browsers  
  Email  
  Online Security  
  Site Development  
  Web  
 Graphics 
  Digital Photography  
  Image Editing  
  Design  
  Vector Graphics  
 General Computing 
  Hardware  
  Peripherals  
  Troubleshooting  
  Miscellaneous  
 Musings 
  Nerdy Thoughts  
  Random Reflections  
Microsoft Office

Excel Tips

How Long Until Vacation?

by Susan DaffronProtected by Copyscape. Do not copy.

Here's a nifty use for Excel: figuring out how long it is until your next vacation. Excel can easily perform arithmetic on dates because it stores them as a plain old number. The next time you are moping in your cubicle wondering when you can head off to the Bahamas, you can fire up Excel, look like you're working and calculate how long it is until you are free. Here's how you do it. Suppose trip to the Bahamas begins on April 12, 2007 and today is November 16, 2006.

Excel stores dates as a regular serial number. In Excel's world view, time began on January 1, 1900. That was day one; January 2, 1900 was day 2, and so forth.  To begin your calculations, type a date into cell A1. Excel understands slashes, so type 11/16/2006. If you click in the cell and choose Format|Cells, you'll see Excel knows it is a date (the calculations won't work if the number is not formatted as a date). Now in cell A2, type in 4/12/2007. To find out how many days it is, you just do simple subtraction. In cell A3, type =A2-A1 to subtract November 16 from April 12. The result, however, is formatted as a date, which throws you off. Now, with your cursor in Cell A3, choose Format|Cells and change the type to General. You can now tell that the result is 147 days.

If you want to really get fancy, you can use one of Excels date formulas. For example, the NETWORKDAYS formula calculates how many work days there are between two days. In cell A4, type =NETWORKDAYS(A1,A2). You find that you have only 106 days of cubicle time left.

If you get an #NAME? error, it means you don't have the Analysis ToolPak add in installed. Choose Tools|Add Ins and see if it is in the list. If so place a check mark next to it. If you don't see any add-ins listed, you may need to install them from your Office CD.

Like the articles in Logical Tips? Get the books for ALL the tips!

logical tips

Logical Tips for Mastering Your Computer:
Quick Shortcuts, Tips, Tricks, and Techniques to Help You Use Your Computer More Effectively

Go from Computing Newbie to Power User!

Read about this book on Amazon
logical tips internet

Logical Tips for Mastering the Internet:
Quick Shortcuts, Tips, Tricks, and Techniques to Help You Use the Internet More Effectively

Go from Internet Newbie to Expert!

Read about this book on Amazon
logical tips office

Logical Tips for Mastering Microsoft Office:
Quick Shortcuts, Tips, Tricks, and Techniques to Help You Use Microsoft Office More Effectively

Don't Let Microsoft Office Drive You Crazy!

Read about this book on Amazon
logical tips office

Logical Tips for Mastering Microsoft Windows:
Quick Shortcuts, Tips, Tricks, and Techniques to Help You Use Microsoft Windows More Effectively

Combat Windows Weirdness!

Read about this book on Amazon

Did you like this article? Let us know!
Please click here to send feedback on this article.
PLEASE NOTE: We do not answer computer questions via email.



Check Out
Our Books!




This site powered by the Logical Web Publisher™: Content management by Logical Expressions, Inc.