I couldn't think of a suitable title but I'll try and explain.
I have attached the sample.
What I want seems to be very complicated and I don't know if it can be done or not.
I've already had lots of valuable help and just two things need to be ironed out if possible.
The attached timesheet is based on a working day of 7 hours 24 minutes. (I've hidden the 7:24 in row14)
The times are inserted in the cells IN, OUT, IN, OUT
The total hours are in row 13
and Row 15 works out the diference between the actual hours worked relative to the 7:24 for the purpose of flexitime as either credit or debit.
Everything works fine when the first IN & OUT are filled in, eg column 'D' of my sample sheet when only the morning is filled in. and in column 'K' when the complete day is filled in, But when only part of it eg, IN, OUT, IN are complete the calculation goes wrong, showing -9:00 hourstotal time and in row 15 16:24.hours
I tried this formula
in row 13, but I get a circular reference warning, and to be honest I've lost the plot and am stumped. =IF(OR(E8=0,E13=0),"",(E13-E14)),IF(E10=0),"",(E10-E9)+(E8-E7)
What I want to do is only calculate E8-E7 when E9 is filled in and then only do the full calculation of (E10-E9) +(E8-E7) when E10 is complete. If by any chance anyone can understand what I've just tried to explain you deserve a medal, because even I am confused now.
Thanks in anticipation
(edited) I've altered the formula a bit because I missed a bit out but it still doesn't work. Any ideas?
Bookmarks