ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Time calculations (https://www.excelbanter.com/excel-worksheet-functions/214666-time-calculations.html)

[email protected]

Time calculations
 
Hi I need a formula that will compare a time against a given reference
time of 16:00. For example 13:00 would return -3 and 18:00 would
return +2
The comparison time is formatted ddd hh:mm as it is part of a weekly
planning sheet but I need to check progress every day against a
reference time of 16:00

Hope thats clear

Martin

David Biddulph[_2_]

Time calculations
 
=MOD(A2,1)*24-16 and format not as Date or Time but as General or Number, or
Custom Format such as +0;-0
--
David Biddulph

" wrote in message
...
Hi I need a formula that will compare a time against a given reference
time of 16:00. For example 13:00 would return -3 and 18:00 would
return +2
The comparison time is formatted ddd hh:mm as it is part of a weekly
planning sheet but I need to check progress every day against a
reference time of 16:00

Hope thats clear

Martin





All times are GMT +1. The time now is 12:44 PM.

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