Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default COUNTIF - more complex

I am needing a formula that will count text occurences in multiple columns,
similar to an a COUNTIF statment but using a filter quality. For example, I
need to know for all rows with the name of Joe in one column, how many times
Joe has a case "Open". I am using the 2000 version.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default COUNTIF - more complex

Try something like this:

=SUMPRODUCT(--(A1:A10="Joe"),--(B1:B10="Open"))

Better to use cells to hold the criteria:

D1 = Joe
E1 = Open

=SUMPRODUCT(--(A1:A10=D1),--(B1:B10=E1))

--
Biff
Microsoft Excel MVP


"Stevestock" wrote in message
...
I am needing a formula that will count text occurences in multiple columns,
similar to an a COUNTIF statment but using a filter quality. For example,
I
need to know for all rows with the name of Joe in one column, how many
times
Joe has a case "Open". I am using the 2000 version.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default COUNTIF - more complex

I am needing a formula that will count text occurences in multiple columns,
similar to an a COUNTIF statment but using a filter quality. For example,
I
need to know for all rows with the name of Joe in one column, how many
times
Joe has a case "Open". I am using the 2000 version.


=SUMPRODUCT((A1:A100="Joe")*(C1:C100="Open"))

where I assumed column A had the name and column C had the status... change
then as appropriate. Also change the range to cove the maximum number of
rows you will need to handle. Probably better to put Joe and Open in their
own cells and test that instead of the string constant directly.

Rick

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
Complex Count/CountIf calc Sarah (OGI) Excel Worksheet Functions 3 May 1st 07 03:47 PM
Complex or Conditional Countif(s) Booweezie Excel Worksheet Functions 3 April 7th 06 08:37 PM
Countif Function, complex criteria Tomski Excel Worksheet Functions 4 January 9th 06 03:45 PM
Even more Complex COUNTIF functionality [email protected] Excel Worksheet Functions 6 September 21st 05 05:38 AM
help please - complex countif, etc. functions Jennie Excel Worksheet Functions 1 June 17th 05 06:35 PM


All times are GMT +1. The time now is 03:44 PM.

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"