Spread sheet help needed

Associate
Joined
1 Oct 2004
Posts
707
Location
Rowley Regis, West Mids
Hi all, I am trying to do a spreadsheet to work out staff working hours.

For e.g


Start 12:00
Finish 17:00
this is ok it shows me that they worked 5 hours

Start 17:00
Finish 03:00 the next day
this is wrong shows up -14 hours instead of 10 hours ?

is the a easy way around this ?
 
=IF(start<finish,finish-start,1+finish-start)

You have lost me ?

Assuming start time is in cell A1 and end time is A2:

=IF(A2<=A1,(A2-A1)+1,A2-A1)
Cell format for A1 & A2 is Custom - hh:mm
Cell format for the result is Custom - [h]:mm

Make sense?

EDIT - Beaten to it!

Cheers mate, thats sorted it.
 
Last edited:
Cheers chrismox, I have had a look and that great but for some reason its not calculating the correct cost now, which should be hours worked * hourly rate - breaks ??
 
Back
Top Bottom