+ Reply to Thread
Results 1 to 5 of 5

Time question

  1. #1
    Stuart
    Guest

    Time question

    Not strictly the correct group, but I wonder if someone
    would be kind enough to help with this:

    As a result of a calculation, the value in C10 is 10.48
    This represents 'seconds'. I need to convert this to
    hh:mm:ss format.

    If I format the cell as a Time and then place in the formula bar:

    =ROUND(C10, 2)/24/60/60 should I not get the time
    00:00:10 ?

    It seems to lose the formula and show as a date.

    Regards.



  2. #2
    Bob Phillips
    Guest

    Re: Time question

    Works fine for me. Sure you formatted it as time, not date or date and
    time?

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "Stuart" <[email protected]> wrote in message
    news:[email protected]...
    > Not strictly the correct group, but I wonder if someone
    > would be kind enough to help with this:
    >
    > As a result of a calculation, the value in C10 is 10.48
    > This represents 'seconds'. I need to convert this to
    > hh:mm:ss format.
    >
    > If I format the cell as a Time and then place in the formula bar:
    >
    > =ROUND(C10, 2)/24/60/60 should I not get the time
    > 00:00:10 ?
    >
    > It seems to lose the formula and show as a date.
    >
    > Regards.
    >
    >




  3. #3
    Stuart
    Guest

    Re: Time question

    Must be a format error on my part then. Maybe date and
    time:
    I clicked C10 then Format>Cells>Number>Time,
    chose the second option (13:30:55).
    Entered the formula into C10, then typed 10.48 into C10.
    As a result, 11:31:12 is displayed in the cell and
    10/01/1900 11/31/12 shows in the formula bar.

    Regards.

    "Bob Phillips" <[email protected]> wrote in message
    news:[email protected]...
    > Works fine for me. Sure you formatted it as time, not date or date and
    > time?
    >
    > --
    >
    > HTH
    >
    > RP
    > (remove nothere from the email address if mailing direct)
    >
    >
    > "Stuart" <[email protected]> wrote in message
    > news:[email protected]...
    >> Not strictly the correct group, but I wonder if someone
    >> would be kind enough to help with this:
    >>
    >> As a result of a calculation, the value in C10 is 10.48
    >> This represents 'seconds'. I need to convert this to
    >> hh:mm:ss format.
    >>
    >> If I format the cell as a Time and then place in the formula bar:
    >>
    >> =ROUND(C10, 2)/24/60/60 should I not get the time
    >> 00:00:10 ?
    >>
    >> It seems to lose the formula and show as a date.
    >>
    >> Regards.
    >>
    >>

    >
    >




  4. #4
    Tom Ogilvy
    Guest

    Re: Time question

    11:13:12 is stored as .48 (.48 * 24 = 11.52 hours)

    the 10 is interpreted as 10 January 1900.

    So you aren't converting your value as you claim.

    --
    Regards,
    Tom Ogilvy

    "Stuart" <[email protected]> wrote in message
    news:[email protected]...
    > Must be a format error on my part then. Maybe date and
    > time:
    > I clicked C10 then Format>Cells>Number>Time,
    > chose the second option (13:30:55).
    > Entered the formula into C10, then typed 10.48 into C10.
    > As a result, 11:31:12 is displayed in the cell and
    > 10/01/1900 11/31/12 shows in the formula bar.
    >
    > Regards.
    >
    > "Bob Phillips" <[email protected]> wrote in message
    > news:[email protected]...
    > > Works fine for me. Sure you formatted it as time, not date or date and
    > > time?
    > >
    > > --
    > >
    > > HTH
    > >
    > > RP
    > > (remove nothere from the email address if mailing direct)
    > >
    > >
    > > "Stuart" <[email protected]> wrote in message
    > > news:[email protected]...
    > >> Not strictly the correct group, but I wonder if someone
    > >> would be kind enough to help with this:
    > >>
    > >> As a result of a calculation, the value in C10 is 10.48
    > >> This represents 'seconds'. I need to convert this to
    > >> hh:mm:ss format.
    > >>
    > >> If I format the cell as a Time and then place in the formula bar:
    > >>
    > >> =ROUND(C10, 2)/24/60/60 should I not get the time
    > >> 00:00:10 ?
    > >>
    > >> It seems to lose the formula and show as a date.
    > >>
    > >> Regards.
    > >>
    > >>

    > >
    > >

    >
    >




  5. #5
    Stuart
    Guest

    Re: Time question

    Best I can get is:
    =TEXT((C10)/24/60/60, "[h]:mm:ss")

    Regards.

    "Tom Ogilvy" <[email protected]> wrote in message
    news:%23X%[email protected]...
    > 11:13:12 is stored as .48 (.48 * 24 = 11.52 hours)
    >
    > the 10 is interpreted as 10 January 1900.
    >
    > So you aren't converting your value as you claim.
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    > "Stuart" <[email protected]> wrote in message
    > news:[email protected]...
    >> Must be a format error on my part then. Maybe date and
    >> time:
    >> I clicked C10 then Format>Cells>Number>Time,
    >> chose the second option (13:30:55).
    >> Entered the formula into C10, then typed 10.48 into C10.
    >> As a result, 11:31:12 is displayed in the cell and
    >> 10/01/1900 11/31/12 shows in the formula bar.
    >>
    >> Regards.
    >>
    >> "Bob Phillips" <[email protected]> wrote in message
    >> news:[email protected]...
    >> > Works fine for me. Sure you formatted it as time, not date or date and
    >> > time?
    >> >
    >> > --
    >> >
    >> > HTH
    >> >
    >> > RP
    >> > (remove nothere from the email address if mailing direct)
    >> >
    >> >
    >> > "Stuart" <[email protected]> wrote in message
    >> > news:[email protected]...
    >> >> Not strictly the correct group, but I wonder if someone
    >> >> would be kind enough to help with this:
    >> >>
    >> >> As a result of a calculation, the value in C10 is 10.48
    >> >> This represents 'seconds'. I need to convert this to
    >> >> hh:mm:ss format.
    >> >>
    >> >> If I format the cell as a Time and then place in the formula bar:
    >> >>
    >> >> =ROUND(C10, 2)/24/60/60 should I not get the time
    >> >> 00:00:10 ?
    >> >>
    >> >> It seems to lose the formula and show as a date.
    >> >>
    >> >> Regards.
    >> >>
    >> >>
    >> >
    >> >

    >>
    >>

    >
    >




+ 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