18.11.2014 Views

Microsoft Office

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Working with Dates<br />

and Times<br />

Beginners often find that working with dates and times in Excel can be<br />

frustrating. To work with dates and times, you need a good understanding<br />

of how Excel handles time-based information. This chapter provides the<br />

information you need to create powerful formulas that manipulate dates and<br />

times.<br />

The dates in this chapter correspond to the United States English<br />

date format: month/day/year. For example, the date 3/1/1952<br />

refers to March 1, 1952, not January 3, 1952. I realize that this setup may seem<br />

illogical, but that’s the way Americans have been trained. I trust that the non-<br />

American readers of this book can make the adjustment.<br />

NOTE<br />

IN THIS CHAPTER<br />

An overview of using dates and<br />

times in Excel<br />

Excel’s date-related functions<br />

Excel’s time-related functions<br />

How Excel Handles Dates and Times<br />

This section presents a quick overview of how Excel deals with dates and times.<br />

It includes coverage of the Excel program’s date and time serial number system,<br />

and it offers tips for entering and formatting dates and times.<br />

Understanding date serial numbers<br />

To Excel, a date is simply a number. More precisely, a date is a serial number that<br />

represents the number of days since the fictitious date of January 0, 1900. A<br />

serial number of 1 corresponds to January 1, 1900; a serial number of 2 corresponds<br />

to January 2, 1900, and so on. This system makes it possible to deal with<br />

dates in formulas. For example, you can create a formula to calculate the number<br />

of days between two dates (just subtract one from the other).<br />

Excel support dates from January 1, 1900, through December 31, 9999 (serial<br />

number = 2,958,465).<br />

223

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!