Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,047
Default Sumproduct and subtotal

hi,

I would like to know, if is possible to combine sumproduct and subtotal, eg
=sumproduct(--(a2:a1000="rev")*(b2:b1000="jan");(subtotal(9,c2:c 1000))

regards

--
regards from Brazil
Thanks in advance for your feedback.
Marcelo

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Sumproduct and subtotal

What are you trying to do by combining?

SUBTOTAL() returns a single value, so this would multiply the subtotal
by the number of dual matches:

=SUMPRODUCT(--(A2:A1000="rev"), --(B2:B1000="jan")) * SUBTOTAL(9,
C2:C1000)

But that may not be your intent

In article ,
Marcelo wrote:

hi,

I would like to know, if is possible to combine sumproduct and subtotal, eg
=sumproduct(--(a2:a1000="rev")*(b2:b1000="jan");(subtotal(9,c2:c 1000))

regards

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
pasting to subtotal lines without replacing hidden -non-subtotal l harleydiva67 Excel Discussion (Misc queries) 1 October 12th 06 06:02 PM
SUMPRODUCT and (perhaps) SUBTOTAL with AUTOFILTER Donovan Excel Worksheet Functions 4 June 9th 06 12:06 AM
SUMIF SUBTOTAL OR SUMPRODUCT? CHRIS K Excel Worksheet Functions 2 October 20th 05 05:46 PM
Subtotal - Can I use Sumproduct ? guilbj2 Excel Discussion (Misc queries) 4 May 30th 05 10:40 PM
Subtotal of Subtotal displays Grand Total in wrong row Thomas Born Excel Worksheet Functions 5 January 6th 05 01:46 PM


All times are GMT +1. The time now is 03:40 PM.

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

About Us

"It's about Microsoft Excel"