+ Reply to Thread
Results 1 to 5 of 5

time unit convertion

  1. #1
    Registered User
    Join Date
    09-21-2011
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2003
    Posts
    11

    time unit convertion

    Hi everyone,

    need to convert a number that contains data on hours and minutes (for example 2.2h) to only minutes. In this case 140min. Is there a formula for this ?

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: time unit convertion

    Maybe:

    =INT(A1)*60+MOD(A1,1)*100

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    09-21-2011
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Thumbs up Re: time unit convertion

    hey, many thanks, works perfectly!

  4. #4
    Registered User
    Join Date
    09-19-2011
    Location
    Klang, Malaysia
    MS-Off Ver
    Excel 2003, 2007
    Posts
    1

    Re: time unit convertion

    Quote Originally Posted by Kukainis View Post
    Hi everyone,

    need to convert a number that contains data on hours and minutes (for example 2.2h) to only minutes. In this case 140min. Is there a formula for this ?
    the formula should be just

    "=A1*60"

    2.2h actually is 132 mins not 140 mins.

  5. #5
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: time unit convertion

    If it's a true decimal value the that would be the case but I was assuming from the example that it wasn't.

    Dom

+ 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