Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default SumProduct and Sum only Filtered data

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))))
  #2   Report Post  
Posted to microsoft.public.excel.misc
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))))



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default SumProduct and Sum only Filtered data

That worked.
Thank you very much.

"Need_Help" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default SumProduct and Sum only Filtered data

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Need_Help" wrote in message
...
That worked.
Thank you very much.

"Need_Help" wrote:

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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to sumproduct only filtered data Niclas Excel Discussion (Misc queries) 14 May 26th 09 05:04 PM
Return filtered values into report worksheet based on filtered valueon the data worksheet dicko1 Excel Worksheet Functions 1 April 21st 09 12:27 AM
MS2007 - deleting filtered data, deletes non-visible data too Nita Excel Discussion (Misc queries) 1 December 9th 08 03:42 PM
Help to sort out filtered data from the data contained in another sheet of the same workbook No News Excel Worksheet Functions 1 July 28th 06 04:04 PM
Sumproduct on filtered cells Ndel40 Excel Worksheet Functions 19 January 20th 05 10:17 PM


All times are GMT +1. The time now is 05:12 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"