Tried, tested and worked with it a million times... I consider myself somewhat of an expert on dates/times considering the amount of problems that people seem to have with them.
Please see your (extended) file attached, Notice how I only changed the formattting on rows 26,27,28 and 30-37.
Where 30 thru 34 is kinda screwing up the information...
But H27 doesn't have any figures in it.You need to convert your answer, End - Start, to a Number rather than Time.
Use =HOUR(H27) to convert the contents of Cell H27. Do the same for the other cells and then you can sum the individual results.
Tested.
My goal was to show what you can do with formatting the same information differently, not to only show what is expected....You have successfully formatted two different cells to display an acceptable result.
Yes well, either you have to use a formula or a format... depends on if you prefer 21.50 or 21:30 as a displayed valueHowever there is no ability to add those two results and get a usable format. Unless you reformat every cell.
David said:=(F5-D5+(F5<D5)-E5+G5)*24
I tried to type in that format [h]:mm into E23, the hours worked in the fortnight but it gave me a huge number, 1368:00 which I thought couldn't be right.
Time formats sadly do not support negative values by default![]()