Hi,
I have a specific problem that I have been searching the forum but cannot seem to find the answer. I have three columns, one has the date, one has tonnes of dirt and the other has the moisture content within the dirt in percentages. What I am trying to do is get a weighted average of the percentage of moisture as measured for the dirt from a single day. I have succeeded so far to total the tonnes according to any given day by using a SUMIFS formula and specifying the date. I understand the simple way of getting the weighted average using the sum product however I would like the formula to look at the range according to the dates. I have attached the table I have. I feel like I need a SUMPRODUCTSIF however it does not exist, Hope someone can help with this
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 197"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]date[/TD]
[TD]tonnes[/TD]
[TD] moisture %[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]103.6[/TD]
[TD="align: right"]1.51[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]259[/TD]
[TD="align: right"]0.87[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]1.51[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]2.96[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]2.96[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]1.51[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I have a specific problem that I have been searching the forum but cannot seem to find the answer. I have three columns, one has the date, one has tonnes of dirt and the other has the moisture content within the dirt in percentages. What I am trying to do is get a weighted average of the percentage of moisture as measured for the dirt from a single day. I have succeeded so far to total the tonnes according to any given day by using a SUMIFS formula and specifying the date. I understand the simple way of getting the weighted average using the sum product however I would like the formula to look at the range according to the dates. I have attached the table I have. I feel like I need a SUMPRODUCTSIF however it does not exist, Hope someone can help with this
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 197"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]date[/TD]
[TD]tonnes[/TD]
[TD] moisture %[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]103.6[/TD]
[TD="align: right"]1.51[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]259[/TD]
[TD="align: right"]0.87[/TD]
[/TR]
[TR]
[TD="align: right"]1/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]2/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]1.51[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]3/11/2015[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]0.97[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]125[/TD]
[TD="align: right"]2.96[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]2.96[/TD]
[/TR]
[TR]
[TD="align: right"]4/11/2015[/TD]
[TD="align: right"]129.5[/TD]
[TD="align: right"]1.51[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]