First you need to ensure you're subtracting Start Time from End Time ... you presently have some mixed references in your formulae in H re: B/C, ie should read:
If your shifts can cross midnight (and do not exceed 24 hours in duration) it would be safer to encase the above in a MOD statement, ie
Then to account for decimal breaks etc... simply divide the total of D:E by 1440 (ie 24 * 60)
The above is still a time value... ie format to hh:mm:ss
If you wish to convert into decimal hours multiply the whole number by 24
Remember to set format of H to be General / Number rather than Time if using the 24* method
EDIT:
Does it matter that the GMT values change - eg C3 vs B3 - do you need to account for the GMT shift in your calcs ? (ie are you at risk of comparing Apples to Pears ?)
Bookmarks