Leading the way in Microsoft Office Development
 Home|Excel|Word|PowerPoint|Consultancy|Feedback|Contact 
 Microsoft Excel > Dates & Times > Entering Times< Previous | Next > 

 

Step 1 - Entering Valid Times

 
 

In Excel times are represented as decimal fractions.

 
 

Working with times is very similar to working with dates except that times are represented as fractions or decimals.

 
 

You can enter times by excluding a date serial number to include decimals.

 
 

If you want to enter a time which is not associated with any particular date then use a zero in front of your decimal.

 

 

Step 2 - Displaying Times

 
 

The table below shows some times with their corresponding serial numbers.

 
 
DateSerial Number
01-Jan-19001
152.15152.15
 

 

Useful periods of time

 
 
PeriodFractionDecimal
1 Day11
12 Hours1 / 20.5
1 Hour1 / 240.041667
1/2 Hour1 / (24 * 2)0.020833
1 Minute1 / (24 * 60)0.000694
1 Second1 / (24 * 60 * 60)0.000012
 
 

If your calculation produces a negative time value, then a series of pound signs is displayed (??)

 

 

Step 3 - Default Formats

 
 

When you enter a time into a cell a time format will be applied automatically.

 
 

The time number format will only be changed if the cell contains the "general" number format.

 
   

 

Step 4 - Entering Invalid Times

 
 

If you enter an invalid time then it is interpreted as text and will be aligned to the left.

 
 

When you enter a time without any date associated with it Excel automatically assigns the date serial number 0.

 
 

You can enter a date and time by entering a recognised date format, followed by a space, followed by a recognised time format.

 
 

When you enter a time that is greater than 24 hours, the associated date will be incremented accordingly adding an additional day for every 24 hours.

 
 

If you enter a time that exceeds 9099:59:59 then the value is interpreted as text (and is left aligned).

 

 

Step 5 - Displaying more than 24 Hours

 



 

Step 6 - Manipulating Times

 
 

If you want to use the dates and numbers that have text formatting you can still use them in calculations. First select an empty cell and copy it. Select (Edit > Paste Special) and check Add on the cells containing dates. Does this change the actual dates ??

 
 

To fill a series of cells with a date sequence, enter the first date and drag the black square in the bottom right corner with the left mouse button.

 
 

To fill a series of cells with a date sequence (perhaps just weekdays or months) drag the black square with the right mouse button.

 
 

Place a date in a cell, move your mouse pointer over the bottom right corner of the cell (Fill Handle), drag it down with the right mouse button to display the shortcut menu.

 

 

Step 7 - Time Fractions

 
 

12:00 AM to 11:30 AM and 12:00 PM to 11:30 PM

 
 
12:00 AM006:00 AM0.2512:00 PM0.506:00 PM0.75
12:30 AM0.0208306:30 AM0.2708312:30 PM0.5208306:30 PM0.77083
01:00 AM0.0416607:00 AM0.2916601:00 PM0.5416607:00 PM0.79166
01:30 AM0.062507:30 AM0.312501:30 PM0.562507:30 PM0.8125
02:00 AM0.0833308:00 AM0.3333302:00 PM0.5833308:00 PM0.83333
02:30 AM0.10416708:30 AM0.3541602:30 PM0.6041608:30 PM0.85416
03:00 AM0.12509:00 AM0.37503:00 PM0.62509:00 PM0.875
03:30 AM0.1458309:30 AM0.3958303:30 PM0.6458309:30 PM0.89583
04:00 AM0.1666610:00 AM0.4166604:00 PM0.6666610:00 PM0.91666
04:30 AM0.187510:30 AM0.437504:30 PM0.687510:30 PM0.9375
05:00 AM0.2083311:00 AM0.4583305:00 PM0.7083311:00 PM0.95833
05:30 AM0.2291611:30 AM0.4791605:30 PM0.7291611:30 PM0.97916
 

 

Step 8 - Things to Remember

 
 
  • You can enter the current time as a decimal fraction by typing "=NOW()-TODAY()"

     
     
  • You can combine dates and times in the same cells.

     

     Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved.< Previous | Top | Next >