Hi,
I have some data that I need to reference from a different sheet while its closed. I know I need to use sumproduct instead of sumifs but I can't seem to get it to work. I need to total the number of lbs for each day.
"Raw Data"
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Date[/TD]
[TD]LBS[/TD]
[/TR]
[TR]
[TD]05/01/18[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]05/01/18[/TD]
[TD]44[/TD]
[/TR]
[TR]
[TD]05/02/18[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]05/02/18[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]05/03/18[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]05/03/18[/TD]
[TD]42[/TD]
[/TR]
[TR]
[TD]05/04/18[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]05/05/18[/TD]
[TD]32[/TD]
[/TR]
[TR]
[TD]05/06/18[/TD]
[TD]22[/TD]
[/TR]
</tbody>[/TABLE]
Report
[TABLE="width: 125"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]05/01/18[/TD]
[TD]05/02/18[/TD]
[TD]05/03/18[/TD]
[TD]05/04/18[/TD]
[TD]05/05/18[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
=sumproduct(--($A:$A),--($B:$B,A2) Is the formula I'm using and I am getting #value error. I am using excel 2016.
Thanks in advance,
Big Ry
I have some data that I need to reference from a different sheet while its closed. I know I need to use sumproduct instead of sumifs but I can't seem to get it to work. I need to total the number of lbs for each day.
"Raw Data"
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]Date[/TD]
[TD]LBS[/TD]
[/TR]
[TR]
[TD]05/01/18[/TD]
[TD]10
[/TD]
[/TR]
[TR]
[TD]05/01/18[/TD]
[TD]44[/TD]
[/TR]
[TR]
[TD]05/02/18[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]05/02/18[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]05/03/18[/TD]
[TD]12[/TD]
[/TR]
[TR]
[TD]05/03/18[/TD]
[TD]42[/TD]
[/TR]
[TR]
[TD]05/04/18[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]05/05/18[/TD]
[TD]32[/TD]
[/TR]
[TR]
[TD]05/06/18[/TD]
[TD]22[/TD]
[/TR]
</tbody>[/TABLE]
Report
[TABLE="width: 125"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]05/01/18[/TD]
[TD]05/02/18[/TD]
[TD]05/03/18[/TD]
[TD]05/04/18[/TD]
[TD]05/05/18[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
=sumproduct(--($A:$A),--($B:$B,A2) Is the formula I'm using and I am getting #value error. I am using excel 2016.
Thanks in advance,
Big Ry