ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   converting a decimal number to hours and seconds (https://www.excelbanter.com/excel-worksheet-functions/58628-converting-decimal-number-hours-seconds.html)

jeda67

converting a decimal number to hours and seconds
 

I have a problem with a spreadsheet

Total Logged in Time Not Ready Time Percentage Worked
5.3 .27
8%
6.3 1.5

My Spreadsheet consists of the above figures, I need to first convert
the time 5.3 to 330 minutes and then .27 to 27 minutes and then get the
percentage of Not Ready Time to Total Logged in time. My only other
problem is the Not Ready Column is not always under 1hr.
I am wondering if I will need two other colums to convert the Total
Logged In Time and the Not Ready Time to minutes or if I can get one
big formula in the Percentage worked column that converts the time in
both columns and then gives me a percentage.

Your help on this would be greatly appreciated.

Thanks from Jeda


--
jeda67
------------------------------------------------------------------------
jeda67's Profile: http://www.excelforum.com/member.php...o&userid=26781
View this thread: http://www.excelforum.com/showthread...hreadid=490522


Aladin Akyurek

converting a decimal number to hours and seconds
 
Is this:

=(TRUNC(B2)*60+(B2-TRUNC(B2))*100)/(TRUNC(A2)*60+(A2-TRUNC(A2))*100)

what you are looking for?

jeda67 wrote:
I have a problem with a spreadsheet

Total Logged in Time Not Ready Time Percentage Worked
5.3 .27
8%
6.3 1.5

My Spreadsheet consists of the above figures, I need to first convert
the time 5.3 to 330 minutes and then .27 to 27 minutes and then get the
percentage of Not Ready Time to Total Logged in time. My only other
problem is the Not Ready Column is not always under 1hr.
I am wondering if I will need two other colums to convert the Total
Logged In Time and the Not Ready Time to minutes or if I can get one
big formula in the Percentage worked column that converts the time in
both columns and then gives me a percentage.

Your help on this would be greatly appreciated.

Thanks from Jeda




All times are GMT +1. The time now is 04:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com