SumProduct and Sum only Filtered data

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))))
 
T

T. Valko

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)))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top