ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Setting up and Configuration of Excel (https://www.excelbanter.com/setting-up-configuration-excel/)
-   -   sumproduct (https://www.excelbanter.com/setting-up-configuration-excel/123568-sumproduct.html)

AJP

sumproduct
 
I am trying to get a sum when two criteria (text) are met. Here is an example
A B
CHAMBERS E
OSWA
OSWA
OSWA
CHAMBERS E


I would like to know how many times Chambers and E occur. My formula that I
have been working on was a sumproduct, but it appears not to be working form
me.

Bob Phillips

sumproduct
 
=SUMPRODUCT(--(A1:A100="Chambers"),--(B1:B100="E"))

--
---
HTH

Bob

(change the xxxx to gmail if mailing direct)


"AJP" wrote in message
...
I am trying to get a sum when two criteria (text) are met. Here is an
example
A B
CHAMBERS E
OSWA
OSWA
OSWA
CHAMBERS E


I would like to know how many times Chambers and E occur. My formula that
I
have been working on was a sumproduct, but it appears not to be working
form
me.





All times are GMT +1. The time now is 04:01 PM.

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