Hi there
I am currently using the following to calculate time range in one column:
=IF(ISNUMBER(FIND("/",C5)),0.5+MOD(SUBSTITUTE(RIGHT(C5,5),"-","")-SUBSTITUTE(MID(C5,FIND("/",C5)+1,5),"-",""),-0.5),0)+0.5+MOD(SUBSTITUTE(MID(C5,FIND("-",C5)+1,5),"/","")-SUBSTITUTE(LEFT(C5,5),"-",""),-0.5)
However am having trouble figuring out how to automatically deduct 45 minute breaks off any shift that is above 5 hours.
I know that it would be much simpler splitting up the shift into two columns but I am interested in finding out if there is a way to modify the current sheet than create a new one.
Any advice is much appreciated.
I am currently using the following to calculate time range in one column:
=IF(ISNUMBER(FIND("/",C5)),0.5+MOD(SUBSTITUTE(RIGHT(C5,5),"-","")-SUBSTITUTE(MID(C5,FIND("/",C5)+1,5),"-",""),-0.5),0)+0.5+MOD(SUBSTITUTE(MID(C5,FIND("-",C5)+1,5),"/","")-SUBSTITUTE(LEFT(C5,5),"-",""),-0.5)
However am having trouble figuring out how to automatically deduct 45 minute breaks off any shift that is above 5 hours.

I know that it would be much simpler splitting up the shift into two columns but I am interested in finding out if there is a way to modify the current sheet than create a new one.
Any advice is much appreciated.