+ Reply to Thread
Results 1 to 2 of 2

changing 02:00 to 2? times to numbers.

  1. #1
    Forum Contributor
    Join Date
    05-29-2009
    Location
    sheffield
    MS-Off Ver
    Excel 2013
    Posts
    210

    changing 02:00 to 2? times to numbers.

    I have a calculation of times that results in 02:00.

    I want to change this so the value it returns is 2 rather than 02:00.

    If i simply change the format to "number" it returns with 0.8.

    how can i change the format so it results in 2?

    Thanks.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: changing 02:00 to 2? times to numbers.

    Multiply by 24 ... Time is Decimal so Noon = 0.5 (1/2 a day) ... * 24 to get hours in integer form (format cell as General or Number ie not Time).

    (if you want to keep as time value but show only two then use a Custom Format of: h)

+ 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