Hi All,
Im currently working on an Excel sheet using the SUMIFS fucntion.
Here is the range:
[TABLE="width: 349"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Range 1[/TD]
[TD]Hours[/TD]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]1/25/2017[/TD]
[TD="align: right"]1/27/2017[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]1/25/2017[/TD]
[TD="align: right"]1/28/2017[/TD]
[/TR]
[TR]
[TD]TM 2[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]1/29/2017[/TD]
[TD="align: right"]1/30/2017[/TD]
[/TR]
[TR]
[TD]TM 3[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]1/31/2017[/TD]
[TD="align: right"]2/3/2017[/TD]
[/TR]
[TR]
[TD]TM 2[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/3/2017[/TD]
[TD="align: right"]2/5/2017[/TD]
[/TR]
[TR]
[TD]TM 2[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/5/2017[/TD]
[TD="align: right"]2/8/2017[/TD]
[/TR]
[TR]
[TD]TM 3[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/8/2017[/TD]
[TD="align: right"]2/11/2017[/TD]
[/TR]
[TR]
[TD]TM 3[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/11/2017[/TD]
[TD="align: right"]2/14/2017[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/14/2017[/TD]
[TD="align: right"]2/16/2017[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/16/2017[/TD]
[TD="align: right"]2/18/2017[/TD]
[/TR]
</tbody>[/TABLE]
Im using the SUMIFS function as: =SUMIFS(!$C$2:$C$20,$D$2:$D$20,"2/2/2017",!$B$2:$B$20,"TM1")
to calculate hours spent by TM1 on a particular day
The formula works well when the hours are spent on a single day. But when the effort is distributed over a period of days, the formula fails. Any ideas ??
Im currently working on an Excel sheet using the SUMIFS fucntion.
Here is the range:
[TABLE="width: 349"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Range 1[/TD]
[TD]Hours[/TD]
[TD]Start Date[/TD]
[TD]End Date[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]1/25/2017[/TD]
[TD="align: right"]1/27/2017[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]1/25/2017[/TD]
[TD="align: right"]1/28/2017[/TD]
[/TR]
[TR]
[TD]TM 2[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]1/29/2017[/TD]
[TD="align: right"]1/30/2017[/TD]
[/TR]
[TR]
[TD]TM 3[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]1/31/2017[/TD]
[TD="align: right"]2/3/2017[/TD]
[/TR]
[TR]
[TD]TM 2[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/3/2017[/TD]
[TD="align: right"]2/5/2017[/TD]
[/TR]
[TR]
[TD]TM 2[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/5/2017[/TD]
[TD="align: right"]2/8/2017[/TD]
[/TR]
[TR]
[TD]TM 3[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/8/2017[/TD]
[TD="align: right"]2/11/2017[/TD]
[/TR]
[TR]
[TD]TM 3[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/11/2017[/TD]
[TD="align: right"]2/14/2017[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/14/2017[/TD]
[TD="align: right"]2/16/2017[/TD]
[/TR]
[TR]
[TD]TM 1[/TD]
[TD="align: right"]10[/TD]
[TD="align: right"]2/16/2017[/TD]
[TD="align: right"]2/18/2017[/TD]
[/TR]
</tbody>[/TABLE]
Im using the SUMIFS function as: =SUMIFS(!$C$2:$C$20,$D$2:$D$20,"2/2/2017",!$B$2:$B$20,"TM1")
to calculate hours spent by TM1 on a particular day
The formula works well when the hours are spent on a single day. But when the effort is distributed over a period of days, the formula fails. Any ideas ??