For the table below, I need formula that will calculate the number of straight Time Hours btw the clock in and clock out times, but I also need it to add an hour for everything break hour that is worked through. I tried a combination of conjunctive IF's with AND/OR with no success. Any help is greatly appreciated.
<tbody>
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #bec0bf"]
[TD="bgcolor: #61d836"]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #dcdcdc"]
[TD="bgcolor: #dcdcdc"]
[TD="bgcolor: #dcdcdc"]
[TD="bgcolor: #dcdcdc"]
[TD="bgcolor: #dcdcdc"]
[TD="bgcolor: #dcdcdc"]
[TD="bgcolor: #dcdcdc"]
[TD="bgcolor: #ee220c"]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
</tbody>
[FONT="]8:00[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]16:00[/FONT] | [FONT="]7[/FONT] |
[FONT="]19:00[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]Yes[/FONT] | [FONT="]3:00[/FONT] | [FONT="]7[/FONT] |
[FONT="]8:00[/FONT] | [FONT="]No[/FONT] | [FONT="]Yes[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]15:00[/FONT] | [FONT="]6[/FONT] |
[FONT="]7:00[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]Yes[/FONT] | [FONT="]No[/FONT] | [FONT="]19:00[/FONT] | [FONT="]11[/FONT] |
[FONT="]7:00[/FONT] | [FONT="]No[/FONT] | [FONT="]Yes[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]16:00[/FONT] | [FONT="]8[/FONT] |
[FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | [FONT="]No[/FONT] | |||
<tbody>
[TD="bgcolor: #bec0bf"]
[FONT="]Date[/FONT]
[/TD][TD="bgcolor: #bec0bf"]
[FONT="]Clock-In[/FONT]
[/TD][TD="bgcolor: #bec0bf"]
[FONT="]Break 1[/FONT]
[/TD][TD="bgcolor: #bec0bf"]
[FONT="]Break 2[/FONT]
[/TD][TD="bgcolor: #bec0bf"]
[FONT="]Break 3[/FONT]
[/TD][TD="bgcolor: #bec0bf"]
[FONT="]Break 4[/FONT]
[/TD][TD="bgcolor: #bec0bf"]
[FONT="]Clock-Out[/FONT]
[/TD][TD="bgcolor: #bec0bf"]
[FONT="]Straight Time Hours Worked[/FONT]
[/TD][TD="bgcolor: #61d836"]
[FONT="]Week 1 Start[/FONT]
[/TD][TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #61d836"]
[/TD]
[TD="bgcolor: #dcdcdc"]
[FONT="]Jul 16, 2018[/FONT]
[/TD][TD="bgcolor: #dcdcdc"]
[FONT="]Jul 17, 2018[/FONT]
[/TD][TD="bgcolor: #dcdcdc"]
[FONT="]Jul 18, 2018[/FONT]
[/TD][TD="bgcolor: #dcdcdc"]
[FONT="]Jul 19, 2018[/FONT]
[/TD][TD="bgcolor: #dcdcdc"]
[FONT="]Jul 20, 2018[/FONT]
[/TD][TD="bgcolor: #dcdcdc"]
[FONT="]Jul 21, 2018[/FONT]
[/TD][TD="bgcolor: #dcdcdc"]
[FONT="]Jul 22, 2018[/FONT]
[/TD][TD="bgcolor: #ee220c"]
[FONT="]Week 1 End[/FONT]
[/TD][TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[/TD]
[TD="bgcolor: #ee220c"]
[FONT="]39[/FONT]
[/TD]</tbody>