View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default SumProduct and Sum only Filtered data

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

--
Biff
Microsoft Excel MVP


"Need_Help" wrote in message
...
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))))