ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Minutes vs Hours (https://www.excelbanter.com/excel-programming/281482-minutes-vs-hours.html)

raj

Minutes vs Hours
 
Hello, please help if you can.

I have a time sheet that is in hours across columns.

User enters start time and end time. Last column
calculates the total hours worked. No problem.

When I sum the hours I get correct total hours.
The problem is, I need to subtract 40 hours from the total
hours worked. I get a nonsense value.

For example, total hours worked is 12. Then 40 - 12 = 12

Please tell me what is wrong. Thanks in advance.

Chip Pearson

Minutes vs Hours
 
Raj,

Try something like

=TotalTime - (40/24)


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"RAJ" wrote in message
...
Hello, please help if you can.

I have a time sheet that is in hours across columns.

User enters start time and end time. Last column
calculates the total hours worked. No problem.

When I sum the hours I get correct total hours.
The problem is, I need to subtract 40 hours from the total
hours worked. I get a nonsense value.

For example, total hours worked is 12. Then 40 - 12 = 12

Please tell me what is wrong. Thanks in advance.





All times are GMT +1. The time now is 05:14 AM.

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