18.11.2014 Views

Microsoft Office

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Working with Dates and Times 13<br />

Time of Day<br />

Time Serial Number<br />

10:30:00 AM 0.43750000<br />

12:00:00 PM (noon) 0.50000000<br />

1:30:00 PM 0.56250000<br />

3:00:00 PM 0.62500000<br />

4:30:00 PM 0.68750000<br />

6:00:00 PM 0.75000000<br />

7:30:00 PM 0.81250000<br />

9:00:00 PM 0.87500000<br />

10:30:00 PM 0.93750000<br />

Entering times<br />

As with entering dates, you normally don’t have to worry about the actual time serial numbers. Just enter<br />

the time into a cell using a recognized format. Table 13.3 shows some examples of time formats that Excel<br />

recognizes.<br />

TABLE 13.3<br />

Entry<br />

Time Entry Formats Recognized by Excel<br />

Excel’s Interpretation<br />

11:30:00 am 11:30 AM<br />

11:30:00 AM 11:30 AM<br />

11:30 pm 11:30 PM<br />

11:30 11:30 AM<br />

13:30 1:30 PM<br />

Because the preceding samples don’t have a specific day associated with them, Excel (by default) uses a date<br />

serial number of 0, which corresponds to the nonday January 0, 1900. Often, you’ll want to combine a date<br />

and time. Do so by using a recognized date-entry format, followed by a space, and then a recognized timeentry<br />

format. For example, if you enter 6/18/2007 11:30 in a cell, Excel interprets it as 11:30 a.m. on June<br />

18, 2007. Its date/time serial number is 39251.4791666667.<br />

When you enter a time that exceeds 24 hours, the associated date for the time increments accordingly. For<br />

example, if you enter 25:00:00 into a cell, it’s interpreted as 1:00 AM on January 1, 1900. The day part of<br />

the entry increments because the time exceeds 24 hours. Keep in mind that a time value without a date uses<br />

January 0, 1900 as the date.<br />

Similarly, if you enter a date and a time (and the time exceeds 24 hours), the date that you entered is<br />

adjusted. If you enter 9/18/2007 25:00:00, for example, it’s interpreted as 9/19/2007 1:00:00 AM.<br />

227

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

Saved successfully!

Ooh no, something went wrong!