ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Count columns that meet criterias (https://www.excelbanter.com/excel-worksheet-functions/449495-count-columns-meet-criterias.html)

[email protected]

Count columns that meet criterias
 
Col A Col B
11 1
11 1
12 1
11 2
13 2
11 1

I need a answer of three. If column a =11 i need it to count column b and i have tried multiple functions and i cant seem to find the right one using excel 2010. Please Help!

Tristan Goderis

Count columns that meet criterias
 
=SUMIFS(B1:B6;A1:A6;"11")

[email protected]

Count columns that meet criterias
 
On Thursday, November 14, 2013 6:42:47 PM UTC-5, wrote:
Col A Col B

11 1

11 1

12 1

11 2

13 2

11 1



I need a answer of three. If column a =11 i need it to count column b and i have tried multiple functions and i cant seem to find the right one using excel 2010. Please Help!


that would give me the sum of the column b if column a = 11 i need it to count the column there is no sum needed in this formula i know that for sure.

joeu2004[_2_]

Count columns that meet criterias
 
wrote:
Col A Col B
11 1
11 1
12 1
11 2
13 2
11 1

I need a answer of three. If column a =11 i need it to
count column b [...] using excel 2010.


You need to count __what__ in column B when column A is 11?

I am guessing you want to count when B is 1, since you expect 3 to be the
answer.

If you not require Excel 2003 compatibility, try:

=COUNTIFS(A1:A6,11,B1:B6,1)

If you require Excel 2003 compatibility (saving the file as ".xls"), try:

=SUMPRODUCT((A1:A6=11)*(B1:B6=1))



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

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