Add times

Important notice for users of Office 2003    To continue receiving security updates for Office, make sure you're running Office 2003 Service Pack 3 (SP3). The support for Office 2003 ends April 8, 2014. If you’re running Office 2003 after support ends, to receive all important security updates for Office, you need to upgrade to a later version such as Office 365 or Office 2013. For more information, see Support is ending for Office 2003.

Let's say you want to sum the total time a set of tasks will take so that you can calculate a contract rate, or you want to sum the number of minutes in different legs of a race to get the total time. There are several ways to add times.

What do you want to do?

For times entered in the standard time format (hours : minutes : seconds)

For times entered as a number in a single time unit


For times entered in the standard time format (hours : minutes : seconds)

For this method to work, hours can never exceed 24, minutes can never exceed 60, and seconds can never exceed 60.

Example

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow to copy an example

  1. Create a blank workbook or worksheet.
  2. Select the example in the Help topic.

 Note   Do not select the row or column headers.

Selecting an example from Help

Selecting an example from Help
  1. Press CTRL+C.
  2. In the worksheet, select cell A1, and press CTRL+V.
  3. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.
 
1
2
3
4
5
6
A
Hours worked
1:35
8:30
3:00
4:15
8:00
Formula Description (Result)
=SUM(A2:A5) Total hours worked when the total is less than a day (17:20)
=SUM(A2:A6)*24 Total hours worked when the total is greater than a day (25.33333).

Notes

  • To view the second formula as a number, select the cell and click Cells on the Format menu. Click the Number tab, and then click General in the Category box.
  • If the time you are adding contain seconds, format the cell with time format that displays seconds. Select the cell and click Cells on the Format menu. Click the Number tab, and then click Time in the Category box.

Function details

SUM

Top of Page Top of Page


For times entered as a number in a single time unit

To do this task, use the TIME function to manipulate a part of a time — such as the hour or minute — within a formula.

Example

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow to copy an example

  1. Create a blank workbook or worksheet.
  2. Select the example in the Help topic.

 Note   Do not select the row or column headers.

Selecting an example from Help

Selecting an example from Help
  1. Press CTRL+C.
  2. In the worksheet, select cell A1, and press CTRL+V.
  3. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.
 
1
2
3
4
A B C
Time Description Amount
10:35:00 AM Hours 2
10:35:00 AM Minutes 10
10:35:00 AM Seconds 30
Formula Description (Result)
=A2+TIME(C2,0,0) Add 2 hours to the time above (12:35:00 PM)
=A3+TIME(0,C3,0) Add 10 minutes to the time above (10:45:00 AM)
=A4+TIME(0,0,C4) Add 30 seconds to the time above (10:35:30 AM)

Functions details

TIME

Top of Page Top of Page

 
 
Applies to:
Excel 2003