ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Need help with time (https://www.excelbanter.com/excel-programming/389143-need-help-time.html)

Khanjohn

Need help with time
 
At work we use Excel 2000. Yeah old especially for a billion dollar
industry. Here is question. I built a program to calculate time for my
employees. Problem is that Excel uses standard 60 minutes and our time clock
uses time in 100. so I get times like 5:87 etc. Can I format excell 2000 to
take the time in this format and then do the addition/subtractions etc
accurately? My employees are paid to the minute of their time which is kind
of nice.

Thanks in advance

robotman

Need help with time
 
You can build a string to format the minutes in 100. I don't think
Excel has a built in format to display the minutes in 100 increments.

An example formula at the spreadsheet level, with the time is in Cell
A1:

=HOUR(A1) & ":" & MINUTE(A1) * 100/60

Hope that helps...

John


Keith74

Need help with time
 
This is fairly handy as an alternative

=TEXT(5.87/24,"h:mm")

hth

Keith




All times are GMT +1. The time now is 11:10 PM.

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