Hi
A follow up question:
I tried adding up the hours for all days but I am encountering an error when a time/shift crosses over midnight.
Here's the formula I used:
=IF(B2="OFF","0",TIMEVALUE(RIGHT(B2,5))-TIMEVALUE(LEFT(B2,5)))+IF(C2="OFF","0",TIMEVALUE(RIGHT(C2,5))-TIMEVALUE(LEFT(C2,5)))+IF(D2="OFF","0",TIMEVALUE(RIGHT(D2,5))-TIMEVALUE(LEFT(D2,5)))+IF(E2="OFF","0",TIMEVALUE(RIGHT(E2,5))-TIMEVALUE(LEFT(E2,5)))+IF(F2="OFF","0",TIMEVALUE(RIGHT(F2,5))-TIMEVALUE(LEFT(F2,5)))+IF(G2="OFF","0",TIMEVALUE(RIGHT(G2,5))-TIMEVALUE(LEFT(G2,5)))+IF(H2="OFF","0",TIMEVALUE(RIGHT(H2,5))-TIMEVALUE(LEFT(H2,5)))
But when I changed the 00:00 time in Cell B4 & H4 to 23:59, I was able to get a result;
Please advice.