ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting multiple cells using a criteria (https://www.excelbanter.com/excel-discussion-misc-queries/30641-counting-multiple-cells-using-criteria.html)

John

Counting multiple cells using a criteria
 
I am trying to count the number of times "c" appears in a column but I need
to limit the count using a second criteria found in another column

Domenic

Try something like this...

=SUMPRODUCT(--(A1:A100="c"),--(B1:B100="x"))

If 'x' is a number, remove the quotes.

Hope this helps!

In article ,
"John" wrote:

I am trying to count the number of times "c" appears in a column but I need
to limit the count using a second criteria found in another column



All times are GMT +1. The time now is 08:23 PM.

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