Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default count many with COUNTIF?

Is there a way of doing this:
=COUNTIF(A1:A200;C2:C15)
without having to
=COUNTIF(A1:A200;C2)+COUNTIF(A1:A200;C3)+ ... ?

with best regards

P.S.
For those using a non-english Excel -- such as I (me?) -- translations of
functions in 9 languages: cherbe.free.fr/traduc_fonctions_xl97.html
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default count many with COUNTIF?

Try this:

=SUMPRODUCT(COUNTIF(A1:A200,C2:C15))

Biff

"Bob" wrote in message
...
Is there a way of doing this:
=COUNTIF(A1:A200;C2:C15)
without having to
=COUNTIF(A1:A200;C2)+COUNTIF(A1:A200;C3)+ ... ?

with best regards

P.S.
For those using a non-english Excel -- such as I (me?) -- translations of
functions in 9 languages: cherbe.free.fr/traduc_fonctions_xl97.html



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default count many with COUNTIF?

Thank you, but no, that didn't work; I get the wrong result "0". Although I'm
not quite sure what Excel is counting...
What I want to count is strings (if that is complicating everything), i.e
'how many' of this, that and the other in A1:A200; "this, that and the other"
is specifyed in C2:C15.

This ought to be possible, one might think...

Bob

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Bob is offline
external usenet poster
 
Posts: 972
Default count many with COUNTIF?

I retract my answer!!! It does work, human error...

Thank you very much Biff!!

Bob

"Bob" skrev:

Thank you, but no, that didn't work; I get the wrong result "0". Although I'm
not quite sure what Excel is counting...
What I want to count is strings (if that is complicating everything), i.e
'how many' of this, that and the other in A1:A200; "this, that and the other"
is specifyed in C2:C15.

This ought to be possible, one might think...

Bob

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,688
Default count many with COUNTIF?

I was concerned after reading your first reply but I feel better now!

You're welcome. Thanks for the feedback!

Biff

"Bob" wrote in message
...
I retract my answer!!! It does work, human error...

Thank you very much Biff!!

Bob

"Bob" skrev:

Thank you, but no, that didn't work; I get the wrong result "0". Although
I'm
not quite sure what Excel is counting...
What I want to count is strings (if that is complicating everything), i.e
'how many' of this, that and the other in A1:A200; "this, that and the
other"
is specifyed in C2:C15.

This ought to be possible, one might think...

Bob





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
Countif for the number of a specific count? [email protected] Excel Worksheet Functions 2 June 27th 06 06:51 PM
Count consecutive dates only [email protected] Excel Discussion (Misc queries) 0 May 4th 06 03:58 PM
Using Countif to count occurences of time? Liketoknow Excel Worksheet Functions 5 February 6th 06 08:21 AM
Formula format for Count or Countif funtion with two criterias Debi Excel Worksheet Functions 2 September 26th 05 08:23 PM
want to count in two columns; countif (colA=x AND colB=y)? Heather Murch Excel Worksheet Functions 1 February 17th 05 03:47 PM


All times are GMT +1. The time now is 04:53 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"