ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   COUNT IF Help with multiple conditions (https://www.excelbanter.com/excel-worksheet-functions/185672-count-if-help-multiple-conditions.html)

potentus

COUNT IF Help with multiple conditions
 
Hi,

I have been trying to find a formula for this and have had no success
I have multiple columns in a spreadsheet,with 2000 rows of numbers.


I want the total number of times: both number 2 appears in column a
AND number 5 appears in column b

Is this possible?

thanks

Teethless mama

COUNT IF Help with multiple conditions
 
=SUMPRODUCT(--(A1:A2000=2),--(B1:B2000=5))


"potentus" wrote:

Hi,

I have been trying to find a formula for this and have had no success
I have multiple columns in a spreadsheet,with 2000 rows of numbers.


I want the total number of times: both number 2 appears in column a
AND number 5 appears in column b

Is this possible?

thanks


willfeld

COUNT IF Help with multiple conditions
 
just add two count ifs together =countif(column a range)+countif(column b
range)
--
Bucky F


"potentus" wrote:

Hi,

I have been trying to find a formula for this and have had no success
I have multiple columns in a spreadsheet,with 2000 rows of numbers.


I want the total number of times: both number 2 appears in column a
AND number 5 appears in column b

Is this possible?

thanks


ryguy7272

COUNT IF Help with multiple conditions
 
A Pivot Table will do that for you:
http://peltiertech.com/Excel/Pivots/pivottables.htm
http://www.contextures.com/xlPivot02.html

Regards,
Ryan--

--
RyGuy


"willfeld" wrote:

just add two count ifs together =countif(column a range)+countif(column b
range)
--
Bucky F


"potentus" wrote:

Hi,

I have been trying to find a formula for this and have had no success
I have multiple columns in a spreadsheet,with 2000 rows of numbers.


I want the total number of times: both number 2 appears in column a
AND number 5 appears in column b

Is this possible?

thanks


potentus

COUNT IF Help with multiple conditions
 


ryguy7272 wrote:
A Pivot Table will do that for you:
http://peltiertech.com/Excel/Pivots/pivottables.htm
http://www.contextures.com/xlPivot02.html

Regards,
Ryan--

--
RyGuy


"willfeld" wrote:

just add two count ifs together =countif(column a range)+countif(column b
range)
--
Bucky F


"potentus" wrote:

Hi,

I have been trying to find a formula for this and have had no success
I have multiple columns in a spreadsheet,with 2000 rows of numbers.


I want the total number of times: both number 2 appears in column a
AND number 5 appears in column b

Is this possible?

thanks




Hi,

Thanks for the Quick reponses.

I believe I did not communication exactly what I am looking for:

I want the to count only those instances where 2 appears in column A
AND 5 also appears in columns B

Thanks for the help

zach


All times are GMT +1. The time now is 12:20 PM.

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