Adding hours, minutes and seconds
VBA Telemetry pings you when your VBA projects fail
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 6 of 6

Thread: Adding hours, minutes and seconds

  1. #1
    Board Regular
    Join Date
    Feb 2002
    Location
    Where the wild roses grow
    Posts
    285
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     

    I've got a column that looks like this:

    12:10:10
    15:32:01
    14:49:20 etc...

    What I need to do is add a few of them together, but the total keeps coming out as the time, when I just want it to show as the total amount. E.G: If I add 12:10:10 and 15:32:01 together, I want it to say 27:42:11 because that's the total

    It's probably really easy, but I can't seem to get going today

    Help an old soldier

  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi Audiojoe

    Custom Format your result cell as [h]:mm:ss

  3. #3
    Board Regular
    Join Date
    Feb 2002
    Location
    Perth Australia
    Posts
    1,579
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi Audiojoe

    Try custom formatting the cells that hold your total as [hh]:mm:ss

    good luck
    Derek

  4. #4
    Board Regular
    Join Date
    Feb 2002
    Location
    Perth Australia
    Posts
    1,579
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi Audiojoe

    Try custom formatting the cells that hold your total as [hh]:mm:ss

    good luck
    Derek

  5. #5
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,803
    Post Thanks / Like
    Mentioned
    12 Post(s)
    Tagged
    1 Thread(s)

    Default

    On 2002-04-10 05:59, Audiojoe wrote:

    I've got a column that looks like this:

    12:10:10
    15:32:01
    14:49:20 etc...

    What I need to do is add a few of them together, but the total keeps coming out as the time, when I just want it to show as the total amount. E.G: If I add 12:10:10 and 15:32:01 together, I want it to say 27:42:11 because that's the total

    It's probably really easy, but I can't seem to get going today

    Help an old soldier
    Custom format the cell of the formula that does the summing as:

    [h]:mm.ss

    Aladin

  6. #6
    Board Regular
    Join Date
    Feb 2002
    Location
    Where the wild roses grow
    Posts
    285
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    My boys, my boys

    You've made your old dad very happy


    Thank You
    Audiojoe
    Now get to bed


User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com