Closed Thread
Results 1 to 3 of 3

how to add time above 24hrs...

  1. #1
    Bill R.
    Guest

    how to add time above 24hrs...

    Hi,
    I am writing a leave tracker spreadsheet and want to add time up to the
    minute to keep track of overtime and comp time and credit hours, annual
    leave, sick leave etc.

    I have my cells formated to time hh:mm but when I add up the time that
    equates more than 24 hours, I get ####, which means the calculations are
    incorrect.

    I tried changing the type to hh:mm:ss and that seemed to add the time up
    correctly but I dont want to display the seconds...too much info, plus I
    only need up to the min.

    any help would be appreciated.

    Bill



  2. #2
    Peo Sjoblom
    Guest

    Re: how to add time above 24hrs...

    2 things, widen your column so the result fit, then use custom format

    [hh]:mm



    --

    Regards,

    Peo Sjoblom

    "Bill R." <Rodenw2@comcast.net> wrote in message
    news:uCoh6dO$FHA.740@TK2MSFTNGP12.phx.gbl...
    > Hi,
    > I am writing a leave tracker spreadsheet and want to add time up to the
    > minute to keep track of overtime and comp time and credit hours, annual
    > leave, sick leave etc.
    >
    > I have my cells formated to time hh:mm but when I add up the time that
    > equates more than 24 hours, I get ####, which means the calculations are
    > incorrect.
    >
    > I tried changing the type to hh:mm:ss and that seemed to add the time up
    > correctly but I dont want to display the seconds...too much info, plus I
    > only need up to the min.
    >
    > any help would be appreciated.
    >
    > Bill
    >
    >




  3. #3
    Jerry W. Lewis
    Guest

    RE: how to add time above 24hrs...

    #### can also mean that the column is not wide enough to disply the result.
    If you go to the Format|Cells dialog, what do you seen in the Sample window?

    If the column is too narrow, then widen it.

    If it is in fact an error, then you will havee to look elsewhere for the
    problem, since what you describe doing should not produce an error. What
    does =COUNT(range) return, where range is the cell range that contains your
    times? My guess is that COUNT will return less than the number of "times" in
    that range, indicating that some of them are text instead of Excel date
    constants.

    With 18:00 in A1, 7:00 in A2, and a format of hh:mm, =A1+A2 would return
    1:00. If (as I suspect) you wanted 25:00, you would need to use the custom
    format [h]:mm , or [hh]:mm if you want to see a leading zero on values <
    10:00.

    Jerry

    "Bill R." wrote:

    > Hi,
    > I am writing a leave tracker spreadsheet and want to add time up to the
    > minute to keep track of overtime and comp time and credit hours, annual
    > leave, sick leave etc.
    >
    > I have my cells formated to time hh:mm but when I add up the time that
    > equates more than 24 hours, I get ####, which means the calculations are
    > incorrect.
    >
    > I tried changing the type to hh:mm:ss and that seemed to add the time up
    > correctly but I dont want to display the seconds...too much info, plus I
    > only need up to the min.
    >
    > any help would be appreciated.
    >
    > Bill
    >
    >
    >


Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1