ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   SUMPRODUCT usage (https://www.excelbanter.com/excel-worksheet-functions/228857-sumproduct-usage.html)

wild turkey no9

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

Bob Phillips[_3_]

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




Glenn

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

wild turkey no9

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


bosco_yip[_2_]

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


Bob Phillips[_3_]

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





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com