logo elektroda
logo elektroda
X
logo elektroda

[Solved] EXCEL - Efficient Conversion of Minutes to Hours in Cells: Display Formats 1h 15m or 1:15hrs

tom_asiol 42906 8
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 9125055
    tom_asiol
    Level 15  
    I have difficulties with converting from minutes to hours in a cell, ie I would like to enter, for example, 75 minutes in the cell and I would like it to display 1h 15 minutes or 1:15 hours. I can ask someone for help.
  • ADVERTISEMENT
  • Helpful post
    #2 9125272
    otapi
    Level 25  
    And there was nothing about total division and the rest of the division at school?

    you can, for example, like this:
    
            =ZŁĄCZ.TEKSTY(ZAOKR.DO.CAŁK(A7/60);":";MOD(A7;60);"h")
    

    where cell A7 contains the minutes entered
  • ADVERTISEMENT
  • #3 9125813
    tom_asiol
    Level 15  
    Not too much for the display of the result. After entering 65 min, the result is 1: 5h and not 1: 05h.
  • ADVERTISEMENT
  • #5 9125839
    otapi
    Level 25  
    I understood that it should be displayed like this - 65 min = one hour and 5 minutes, not "first five"

    = CONCATENATE (CEILING (A7 / 60), "h", MOD (A7,60), "min")
  • Helpful post
    #6 9125883
    Anonymous
    Anonymous  
  • ADVERTISEMENT
  • #7 9125887
    tom_asiol
    Level 15  
    This formula doesn't work for me.
  • Helpful post
    #8 9125899
    Anonymous
    Anonymous  
  • #9 17179781
    Malim
    Level 2  
    Thank you. I hope that this post will never be removed, because I was wondering 2 weeks how to do it myself :) , I had to modify it a bit and convert it to English but it works. Thank you again

Topic summary

The discussion revolves around converting minutes to hours in Excel cells, specifically aiming for formats like "1h 15m" or "1:15 hours." Users share various formulas to achieve this, such as using CONCATENATE and CEILING functions. One suggested formula is =CONCATENATE(CEILING(A7/60), "h", MOD(A7,60), "min"), which formats the output correctly. However, some users encounter issues with leading zeros in the hour display. Additional resources, including links to Microsoft support, are provided for further assistance.
Summary generated by the language model.
ADVERTISEMENT