+ Reply to Thread
Results 1 to 5 of 5

format minutes to days hours & minutes

Hybrid View

  1. #1
    M.Siler
    Guest

    format minutes to days hours & minutes

    If I have 43,392 minutes that is 30 days, 3 hours & 12 minutes. How do I
    format 43392 to look like 30d 3h 12m or 20 d 3:12?



  2. #2
    Niek Otten
    Guest

    Re: format minutes to days hours & minutes

    =A1/24/60 (Time is stored as a fraction of a day), format>Cells>Number tab,
    Custom. In the Type box, enter d"d" hh:mm

    --
    Kind regards,

    Niek Otten

    "M.Siler" <John.Doe@NoSpam.com> wrote in message
    news:ORqAgAOKGHA.216@TK2MSFTNGP15.phx.gbl...
    > If I have 43,392 minutes that is 30 days, 3 hours & 12 minutes. How do I
    > format 43392 to look like 30d 3h 12m or 20 d 3:12?
    >




  3. #3
    Dave Peterson
    Guest

    Re: format minutes to days hours & minutes

    I don't think you'll be able to just format the cell to get that.

    But with 43392 in A1, I put this in B1:
    =INT(A1/60/24)&"d " & TEXT(MOD(A1/60/24,1),"hh\h mm\m ss\s")

    And got:
    30d 03h 12m 00s



    "M.Siler" wrote:
    >
    > If I have 43,392 minutes that is 30 days, 3 hours & 12 minutes. How do I
    > format 43392 to look like 30d 3h 12m or 20 d 3:12?


    --

    Dave Peterson

  4. #4
    Dave Peterson
    Guest

    Re: format minutes to days hours & minutes

    Well, I'll be....

    Never mind!


    Dave Peterson wrote:
    >
    > I don't think you'll be able to just format the cell to get that.
    >
    > But with 43392 in A1, I put this in B1:
    > =INT(A1/60/24)&"d " & TEXT(MOD(A1/60/24,1),"hh\h mm\m ss\s")
    >
    > And got:
    > 30d 03h 12m 00s
    >
    > "M.Siler" wrote:
    > >
    > > If I have 43,392 minutes that is 30 days, 3 hours & 12 minutes. How do I
    > > format 43392 to look like 30d 3h 12m or 20 d 3:12?

    >
    > --
    >
    > Dave Peterson


    --

    Dave Peterson

  5. #5
    Arvi Laanemets
    Guest

    Re: format minutes to days hours & minutes

    Hi

    Into some free cell enter the formula
    =1/(24*60)
    and copy it

    Select the range with your figures (minutes), and PasteSpecial>Multiply. All
    selected minute entries are converted to time values. Format the selected
    range as "d\d h\h m\m"


    Arvi Laanemets


    "M.Siler" <John.Doe@NoSpam.com> wrote in message
    news:ORqAgAOKGHA.216@TK2MSFTNGP15.phx.gbl...
    > If I have 43,392 minutes that is 30 days, 3 hours & 12 minutes. How do I
    > format 43392 to look like 30d 3h 12m or 20 d 3:12?
    >
    >




+ 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