Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default 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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default 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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I count occurrences of multiple conditions Debi Excel Worksheet Functions 1 October 5th 06 05:11 PM
count on multiple conditions Debbie Excel Worksheet Functions 6 September 21st 06 06:34 PM
how do I count the occurrences of multiple conditions Debi Excel Worksheet Functions 8 July 18th 06 02:28 PM
COUNT using multiple conditions SamGB Excel Discussion (Misc queries) 2 February 9th 06 10:12 PM
Count with multiple conditions Toby0924 Excel Worksheet Functions 3 February 2nd 05 01:35 PM


All times are GMT +1. The time now is 12:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"