+ Reply to Thread
Results 1 to 2 of 2

How do I change an integer into hh:mm:ss

Hybrid View

  1. #1
    Sam
    Guest

    How do I change an integer into hh:mm:ss

    Hi,

    I have a bunch of number -- integers -- that represent time in seconds. I
    need to do some calculations then display results in hh:mm:ss format. How do
    I convert integers (seconds) into time values?

    For example I have 3600 as a value in cell A1. This is 3600 seconds. The
    time value of this would be 1:00:00. I'd appreciate help on this. Thanks.

    Sam



  2. #2
    Tom Ogilvy
    Guest

    Re: How do I change an integer into hh:mm:ss

    put

    =24*60*60 (or just enter 86400 in the cell)

    in a cell to calculate the number of seconds. Then copy the cell and select
    your integers. Do Edit=>Paste =>special and select Divide

    format the "integers" as Time.

    Time is stored as a fraction of a 24 hour day. This should convert to a
    time value (1/24th of a day)

    --
    Regards,
    Tom Ogilvy



    "Sam" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > I have a bunch of number -- integers -- that represent time in seconds. I
    > need to do some calculations then display results in hh:mm:ss format. How

    do
    > I convert integers (seconds) into time values?
    >
    > For example I have 3600 as a value in cell A1. This is 3600 seconds. The
    > time value of this would be 1:00:00. I'd appreciate help on this. Thanks.
    >
    > Sam
    >
    >




+ Reply to 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