#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default SUMPRODUCT usage

Hi There

Is there an easy way to configure sumproduct to do the following:

multiply col A * Col B when col B = either E or N or D

Thanks

Kevin
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default SUMPRODUCT usage

How can you multiply column B if it is letters?

Perhaps you want

=SUMPRODUCT((B2:B20={"E","N","D})(A2:A20))

--
__________________________________
HTH

Bob

"wild turkey no9" wrote in message
...
Hi There

Is there an easy way to configure sumproduct to do the following:

multiply col A * Col B when col B = either E or N or D

Thanks

Kevin



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default SUMPRODUCT usage

Bob Phillips wrote:
How can you multiply column B if it is letters?

Perhaps you want

=SUMPRODUCT((B2:B20={"E","N","D})(A2:A20))


I think "wild turkey no9" meant column B equals column E, column N or column D...
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default SUMPRODUCT usage

Guys, thanks for your help. Apologies for my poor description.

"Glenn" wrote:

Bob Phillips wrote:
How can you multiply column B if it is letters?

Perhaps you want

=SUMPRODUCT((B2:B20={"E","N","D})(A2:A20))


I think "wild turkey no9" meant column B equals column E, column N or column D...

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default SUMPRODUCT usage

So what did you mean?

--
__________________________________
HTH

Bob

"wild turkey no9" wrote in message
...
Guys, thanks for your help. Apologies for my poor description.

"Glenn" wrote:

Bob Phillips wrote:
How can you multiply column B if it is letters?

Perhaps you want

=SUMPRODUCT((B2:B20={"E","N","D})(A2:A20))


I think "wild turkey no9" meant column B equals column E, column N or
column D...





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default SUMPRODUCT usage

Or, use€¦€¦

=SUM(SUMIF(B2:B20,{"E","N","D"},A2:A20))

Regards
Bosco


"wild turkey no9" wrote:

Hi There

Is there an easy way to configure sumproduct to do the following:

multiply col A * Col B when col B = either E or N or D

Thanks

Kevin

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
About the usage of the function Keith Hui Excel Worksheet Functions 1 March 31st 09 04:12 PM
Sumproduct() usage Jim May Excel Discussion (Misc queries) 2 January 11th 08 09:55 PM
New Errors in Sumproduct Usage Danger Mouse Excel Worksheet Functions 5 April 12th 07 03:44 PM
limited usage jinvictor Excel Discussion (Misc queries) 1 June 14th 06 04:28 PM
100% cpu usage bill Excel Discussion (Misc queries) 1 March 2nd 06 10:27 AM


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