SumProduct and Sum only Filtered data

  • Thread starter Thread starter Need_Help
  • Start date Start date
N

Need_Help

I'm trying to use SubTotals on filtered data using SumProduct. The data is on
a different worksheet 'WGS_F3", I want to be able to use a filter on the
WGS_F3 worksheet and only show the totals for the matched criteria.

Example:

=SUMPRODUCT(--(WGS_F3!$J$11:$J$784=$B3),--(WGS_F3!$A$11:$A$784=A3),--(SUBTOTAL(9,(WGS_F3!$Y$11:$Y$784))))
 
Try it like this:

=SUMPRODUCT(--(WGS_F3!$J$11:$J$784=$B3),--(WGS_F3!$A$11:$A$784=A3),SUBTOTAL(9,OFFSET(WGS_F3!$Y$11:$Y$784,ROW(WGS_F3!$Y$11:$Y$784)-ROW(WGS_F3!$Y$11),0,1)))
 
Back
Top