ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   convert time to decimal (https://www.excelbanter.com/excel-worksheet-functions/253269-convert-time-decimal.html)

doodle302

convert time to decimal
 
I'm looking for a formula to convert time to a decimal

Example: (6:15 + 5:45 + 2:15 + 1:25) * 3 = equals amount due in dollars
(whole number)

times listed are for different days

Yanick

convert time to decimal
 
On Jan 13, 10:35*am, doodle302
wrote:
I'm looking for a formula to convert time to a decimal

Example: (6:15 + 5:45 + 2:15 + 1:25) * 3 = equals amount due in dollars
(whole number)

times listed are for different days


Use cell format [h]:mm:ss

23:00 + 6:00 will = 29:00

Fred Smith[_4_]

convert time to decimal
 
In Excel, times are fractions of a day. Change your formula to:
(6:15 + 5:45 + 2:15 + 1:25) * 24 * 3

Regards,
Fred

"doodle302" wrote in message
...
I'm looking for a formula to convert time to a decimal

Example: (6:15 + 5:45 + 2:15 + 1:25) * 3 = equals amount due in dollars
(whole number)

times listed are for different days




All times are GMT +1. The time now is 10:54 AM.

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