Convert Duration Minutes to Hours in Microsoft Excel or Google Sheets

Поділитися
Вставка
  • Опубліковано 15 сер 2023
  • This video is a specific case of converting this duration format from minutes to hours in Microsoft Excel or Google Sheets.
    #excel #googlesheets #duration
  • Навчання та стиль

КОМЕНТАРІ • 9

  • @dotpenji
    @dotpenji 10 місяців тому

    Hey there! Your video on converting minutes to hours is incredibly helpful, especially for cases where it's not as straightforward as 30 minutes. The tip on using find and replace to clean up the data was a great takeaway.

  • @SachinSharma-eo4xx
    @SachinSharma-eo4xx 10 місяців тому

    Love from India ❤

  • @bettyprice8710
    @bettyprice8710 3 місяці тому

    THANK YOU! :)

  • @patricksellers9148
    @patricksellers9148 4 місяці тому

    What if I am starting with a decimal of 1.8 hours.. how do I get that answer to show up in hours and minutes

    • @ashleycam3ron
      @ashleycam3ron  4 місяці тому

      Do you want it to show 1:48:00 or say 1 hr, 48 minutes (?)
      For 1:48:00, you can do 1.8*24 and then format the cell to display as "Custom" h:mm:ss
      If you did the first method and got 1:48:00, you can use this formula to make it say 1 hr, 48 min:
      =HOUR(H124) & " hr, " & MINUTE(H124) & " minutes"
      Or if you want to directly convert 1.8 to 1 hr, 48 min, here's this formula:
      =INT(1.8) & " hr, " & ROUND(MOD(1.8,1)*60,0) & " minutes"

    • @patricksellers9148
      @patricksellers9148 4 місяці тому

      @ashleycam3ron I want my result to show as 1hr 48min. In this particular case my current formula for cell d10 is =SUM($B10*$C10)/$M$2+.25
      and my answer is 1.8. Which in my case is 1.8 hours. Do I just add your formula to the end of my formula?

    • @ashleycam3ron
      @ashleycam3ron  4 місяці тому

      ​@@patricksellers9148😬 I'm not entirely sure without having a new cell & referencing the other result.

    • @patricksellers9148
      @patricksellers9148 4 місяці тому

      @ashleycam3ron okay,thank you for the reply

    • @ashleycam3ron
      @ashleycam3ron  4 місяці тому

      Hi @@patricksellers9148 , ChatGPT may have your solution:
      =INT((SUM($B10*$C10)/$M$2+.25)) & " hr, " & ROUND((MOD((SUM($B10*$C10)/$M$2+.25),1))*60,0) & " minutes"
      It says: "Here, the INT function is used to extract the integer part which represents hours, and the ROUND function is used to round the minutes to the nearest whole number. The MOD function is used to obtain the decimal part, which represents the minutes, and then multiplied by 60 to convert it to minutes. Finally, the results are concatenated with the specified text. Adjust the cell references as needed based on your actual data."