ExcelTip.com
ExcelTip.com
Account Icon Account Icon Account Icon
Google Exceltip.com
JOIN OUR NEWSLETTER
  and receive for joining:
Free eBook Learn More!
Free Excel ADD-IN
Free Weekly Excel Tip
4 e-books in cd-rom
F1 Formulas & Functions
F1 Formulas & Functions
F1 EXCEL
F1 eBook (Spanish)
F1 EXCEL
Financial Statements.xls
 

» Totaling Time Values
CATEGORY: Excel Time
Excel uses serial values to recognize time. The time's serial number is between 0 and 1 (noon serial time = 0.50).

The time format to display hours, minutes and seconds is HH:MM:SS. For example, a time of 14 hours and 56 minutes is displayed as 14:56:00.

Problem:
The default time format does not allow a time value to exceed 24 hours. For example, by entering a time of 28:56:00, the result is 04:56:00.

Solution:
Change the format of the cell by placing brackets around the hour, [HH]:MM:SS. The result is displayed as 28:56:00.

In the screenshot below, cell C5 uses the SUM function in a formatted cell to sum times correctly.


Screenshot // Totaling Time Values

Totaling Time Values
Rate this tip
12 34 5
  RATING: 3.75
  VIEWS: 56521

READER COMMENTS (view all comments)


Timesheet problems????
Chris wrote on December 31, 1969 19:00 EST
This is fine, Ive created a Timesheet with the same formulas but if you have a cell ie: [E5] =C5 the result refers back to numbers, I have a time sheet that has 8 sheets, sheet 1 to 7 is days of the week and sheet 9 is weeks summary which has the total of all worked hours for the week, but when I try to add all the hours together all I get is numbers, it dosn't matter which way try to format the cell. If anybody has a solution please tell me.
Good tip
Viet Pham wrote on December 31, 1969 19:00 EST
Great!

This is helpful tip. Thank you very much.
adding time
kaylie wrote on December 31, 1969 19:00 EST
this tip does not tell me HOW to format the cell with brakcets around the hours. Cant use the tip without knowing how to format other than the format window, whick does not let me do that specific thing.
adding time
Rati Khetan wrote on December 31, 1969 19:00 EST
Need to know mor eabout how to add the tim eif in the format mm.ss.ms
Custom formats
Darren wrote on December 31, 1969 19:00 EST
kaylie wrote she does not understand how to add the brackets to the format. In format cells go to custom and type in [HH]:MM:SS in the edit box.

Thanks for the tip.
24th hour as previous day
cenya wrote on December 31, 1969 19:00 EST
I have an application that gives me dates and times as year, julian day, and hh:mm. I have made a concatenation formula to convert to mm/dd/yy hh:mm. It works well, but hour 24:00 comes out as 0:00 in the cell, so in a graph, the line returns to the beginning of the day, then jumps back to the 01:00 of the next day. This makes a strange looking and incorrect graph.

can anyone help me correct this problem?...convert the 24:00 to the last entry for the previous day.
thanks,
cenya



REGISTERED USERS - Click here to post comments


GUESTS (Click here to register)
Name
Comment Title
Comments

Managing by the Numbers: A Commonsense Guide to Understanding and Using Your Company's Financials: An Essential Resource for Growing Businesses

Learn MS Excel 2002 VBA/XML Programming

Treason: Liberal Treachery from the Cold War to the War on Terrorism

Financial Shenanigans : How to Detect Accounting Gimmicks & Fraud in Financial Reports

H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond

Special Edition Using Microsoft Access 2002

RELATED MICROSOFT EXCEL TIPS


Convert PDF Files to Excel






Excel VBA books
Accounting books
Business Plans
MS Office books
Taxes books

VIEW ALL BOOKS


  Advertise With Us                               

Tips

Add-In in VBA | Applications - Word, Outlook in VBA | Array Formulas | Cells, Ranges, Rows, and Columns in VBA | Counting | Custom Functions | Custom Functions in VBA | Database Formulas | Database in VBA | Date & Time Formulas | Date & Time in VBA | Events in VBA | Excel 2003 | Excel Chart | Excel Consolidating | Excel Counting | Excel Custom Functions using VBA | Excel Customizing | Excel Data | Excel Dates | Excel Editing | Excel Files | Excel Filter | Excel Format | Excel Formula | Excel General | Excel Grouping and Outlining | Excel Importing Text Files | Excel Information | Excel Keyboard Shortcuts | Excel Loan Formulas | Excel Macros - VBA | Excel Pivot Tables | Excel Printing | Excel Range Name | Excel Security - Protection | Excel Sorting | Excel Style | Excel Subtotals | Excel Summing | Excel Text | Excel Time | Excel Tools | Excel Worksheet, Workbook | Files, Workbook, and Worksheets in VBA | Financial Formulas | Formating in VBA | General Topics in VBA | Import and Export in VBA | Information Formulas | Keyboard & Other Shortcuts in VBA | Keyboard Formula Shortcuts | Links between Worksheet and Workbooks | Links in VBA | Logical Formulas | Lookup Formulas | Mail - Send and Receive in VBA | Menus, Toolbars, Status bar in VBA | Modules, Class Modules in VBA | Other Q&A Formulas | Printing in VBA | Protecting in VBA | Summing | Text Formulas | User Forms, Input boxes in VBA | Using Loops | Working with Formulas |

Tips by Version

Microsoft Excel 97 | Microsoft Excel 2000 | Microsoft Excel 2002 | All Microsoft Excel Versions | New in Excel 2002 | New in Excel 2003 - Office 11

Website

Home | Tip of Hour | Recommended Tips | Most Viewed Tips | Tips by Version | Submit a Tip | My Tips
Microsoft Excel Tutorials | Excel Links | Write for Us | About Us | Search Results | Tip Archives | Excel Forum | Excel Forum Archives

Excel Book

Excel 97 Book | Excel 2000 Book | Excel 2002 Book | Excel XP Book | Book Store

Terms and Conditions of use
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Copyright © 2003 ExcelTip.com
Microsoft, Microsoft Excel is a U.S. registered trademark of Microsoft Corporation
Site Developed By: Varien