ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   calculate hours (https://www.excelbanter.com/excel-discussion-misc-queries/14220-calculate-hours.html)

Sunny

calculate hours
 
How can i count hours between this two days in excel?
a1 2/8/2007 10:00 b1 2/9/2007 23:10
the sum should be 37 hours 10 min

JE McGimpsey

One way:

=B1-A1

Format the cell with Format/Cells/Number/Custom [h]:mm

In article ,
"Sunny" wrote:

How can i count hours between this two days in excel?
a1 2/8/2007 10:00 b1 2/9/2007 23:10
the sum should be 37 hours 10 min


Niek Otten

=B1-A1, then format Custom as [h]:mm

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel


"Sunny" wrote in message
...
How can i count hours between this two days in excel?
a1 2/8/2007 10:00 b1 2/9/2007 23:10
the sum should be 37 hours 10 min





All times are GMT +1. The time now is 09:34 PM.

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