Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Sumproduct formula help

I have banker names in Column A

I have titles in column B (either "Director" or "Managing Director")

In column C I have market sales

In column D I have the banker's market share

So one row may be SMITH, A. Director 150.2 5.6%

To get the TOTAL market share for all 100 bankers I would do:
sumproduct(D2:D101*C2:C101)/sum(C2:C101)

But how would I get the total market share for just managing directors?

Hope this is clear. Thanks in advance,
Daniel
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default Sumproduct formula help

One way:

=SUMPRODUCT(--(B2:B101="Managing Director),C2:C101,
D2:D101)/SUM(C2:C101)

For an explanation of "--" see

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Daniel Bonallack" wrote:

I have banker names in Column A

I have titles in column B (either "Director" or "Managing Director")

In column C I have market sales

In column D I have the banker's market share

So one row may be SMITH, A. Director 150.2 5.6%

To get the TOTAL market share for all 100 bankers I would do:
sumproduct(D2:D101*C2:C101)/sum(C2:C101)

But how would I get the total market share for just managing directors?

Hope this is clear. Thanks in advance,
Daniel

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 110
Default Sumproduct formula help

Thanks very much

"JE McGimpsey" wrote:

One way:

=SUMPRODUCT(--(B2:B101="Managing Director),C2:C101,
D2:D101)/SUM(C2:C101)

For an explanation of "--" see

http://www.mcgimpsey.com/excel/doubleneg.html


In article ,
"Daniel Bonallack" wrote:

I have banker names in Column A

I have titles in column B (either "Director" or "Managing Director")

In column C I have market sales

In column D I have the banker's market share

So one row may be SMITH, A. Director 150.2 5.6%

To get the TOTAL market share for all 100 bankers I would do:
sumproduct(D2:D101*C2:C101)/sum(C2:C101)

But how would I get the total market share for just managing directors?

Hope this is clear. Thanks in advance,
Daniel


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
OR in SUMPRODUCT formula Walter Briscoe Excel Worksheet Functions 4 June 13th 11 11:06 PM
sumproduct formula help ronda120 Excel Worksheet Functions 2 May 5th 09 04:48 PM
Nesting a sumproduct formula within a sumif formula. jerrymcm Excel Discussion (Misc queries) 2 October 3rd 07 03:35 PM
Need to add to a SUMPRODUCT formula Karen Excel Worksheet Functions 2 June 18th 07 11:16 PM
SumProduct Formula Help bountifulgrace Excel Worksheet Functions 2 May 4th 06 08:14 PM


All times are GMT +1. The time now is 11:33 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"