calculating amount of hours in excel

Soldato
Joined
14 Dec 2005
Posts
5,044
this is for a timesheet...

I have a start time in one cell, finish time in another
because it's the 24hr clock finish time - start time gives the hours worked

so start at 10:00 finish at 18:45, 18:45 - 10:00 when the cells are formatted to time gives 08:45
8hrs 45mins is right but it's just 845am in excel

how do I make it show 8.75? is that even possible?
 
Hi,

Use the MROUND function as per my example below: -

1I04l9v.jpg


Code:
=(MROUND(B2-A2,15/1440)*24)

Regards
 
Thanks very much, will do this when I get home

What does mround do?

I get 1440 is mins in a day, but why 15?

It's not too important for me to know tbh, just wondering
 
Back
Top Bottom