Hi i have this table for a timesheet with the following formula:
[TABLE="class: cms_table_grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"][/TD]
[TD="align: center"]J[/TD]
[TD="align: center"][/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD] In[/TD]
[TD] Out[/TD]
[TD]Formula OT 25%[/TD]
[TD]OT 25%[/TD]
[TD]Formula OT 50%[/TD]
[TD]OT 50%[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]19[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]16[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]-1[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]18.5[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]1.5[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Total HE 25%[/TD]
[TD="align: center"]5.5[/TD]
[TD="align: center"]Total HE 50%[/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
It worked fine because it didn´t work with hour format, but know they want something more complex. I don't have much expirience with Excel and I've been trying to change the formula to reflect hour format with no results please help. The table should look something like this.
[TABLE="class: cms_table_grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"][/TD]
[TD="align: center"]J[/TD]
[TD="align: center"][/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD]In[/TD]
[TD]Out[/TD]
[TD]Formula OT 25%[/TD]
[TD]OT 25%[/TD]
[TD]Formula OT 50%[/TD]
[TD]OT 50%[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]17:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]19:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]21:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]16:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]18:30[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1:30[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]8:15[/TD]
[TD="align: center"]17:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-0:15[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]8:40[/TD]
[TD="align: center"]17:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-0:40[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]22:20[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3:20[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Total OT 25%[/TD]
[TD="align: center"]7:30[/TD]
[TD="align: center"]Total OT 50%[/TD]
[TD="align: center"]5:20[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Total T Deduct[/TD]
[TD="align: center"]1:55[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
Total OT 25% Should only reflect the positive values in colum J
Total OT 50% Should also refelect the positive values in colum K
Total T Deduct Should only reflect the negative values in colum J
Thanks in advance for your help!!
[TABLE="class: cms_table_grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"][/TD]
[TD="align: center"]J[/TD]
[TD="align: center"][/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD] In[/TD]
[TD] Out[/TD]
[TD]Formula OT 25%[/TD]
[TD]OT 25%[/TD]
[TD]Formula OT 50%[/TD]
[TD]OT 50%[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]19[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]16[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]-1[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]8[/TD]
[TD="align: center"]18.5[/TD]
[TD="align: center"]=SI(I3>=19.1,"3",(I3-H3-9))[/TD]
[TD="align: center"]1.5[/TD]
[TD="align: center"]=(I3-H3-9-J3)[/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Total HE 25%[/TD]
[TD="align: center"]5.5[/TD]
[TD="align: center"]Total HE 50%[/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
It worked fine because it didn´t work with hour format, but know they want something more complex. I don't have much expirience with Excel and I've been trying to change the formula to reflect hour format with no results please help. The table should look something like this.
[TABLE="class: cms_table_grid, width: 500, align: center"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"][/TD]
[TD="align: center"]J[/TD]
[TD="align: center"][/TD]
[TD="align: center"]K[/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD]In[/TD]
[TD]Out[/TD]
[TD]Formula OT 25%[/TD]
[TD]OT 25%[/TD]
[TD]Formula OT 50%[/TD]
[TD]OT 50%[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]17:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]19:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]21:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]16:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-1[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]18:30[/TD]
[TD="align: center"][/TD]
[TD="align: center"]1:30[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]8:15[/TD]
[TD="align: center"]17:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-0:15[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]8:40[/TD]
[TD="align: center"]17:00[/TD]
[TD="align: center"][/TD]
[TD="align: center"]-0:40[/TD]
[TD="align: center"][/TD]
[TD="align: center"]0[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]8:00[/TD]
[TD="align: center"]22:20[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3:20[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Total OT 25%[/TD]
[TD="align: center"]7:30[/TD]
[TD="align: center"]Total OT 50%[/TD]
[TD="align: center"]5:20[/TD]
[/TR]
[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]Total T Deduct[/TD]
[TD="align: center"]1:55[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
Total OT 25% Should only reflect the positive values in colum J
Total OT 50% Should also refelect the positive values in colum K
Total T Deduct Should only reflect the negative values in colum J
Thanks in advance for your help!!