#1   Report Post  
Tuc
 
Posts: n/a
Default countif question

Hi,

I'm struggling with an issue that might be easy for someone else. I need to
count all the rows where column A has the number 11 and column B contains a
word, let's say the word 'hockey'. Column B is a text column that will have
multiple words in it, so I need to search for 'hockey' using wildcards, i.e.
'*hockey*'. Any thoughts?
Thanks!
  #2   Report Post  
Tuc
 
Posts: n/a
Default

Hi all, I finally found the solution. Thanks to past postings! Here is the
solution that worked for me.

=SUMPRODUCT((A1:A188=11)*(ISNUMBER(SEARCH("hockey" ,B1:B188))))

"Tuc" wrote:

Hi,

I'm struggling with an issue that might be easy for someone else. I need to
count all the rows where column A has the number 11 and column B contains a
word, let's say the word 'hockey'. Column B is a text column that will have
multiple words in it, so I need to search for 'hockey' using wildcards, i.e.
'*hockey*'. Any thoughts?
Thanks!

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 question floridasurfn Excel Worksheet Functions 3 March 14th 05 02:03 AM
Question on Conditional COUNTIF Question on Conditonal Countif Excel Worksheet Functions 2 February 13th 05 07:29 PM
COUNTIF Question zbert Excel Worksheet Functions 1 November 1st 04 01:59 AM
COUNTIF Question zbert Excel Worksheet Functions 0 October 31st 04 06:02 PM
COUNTIF Question zbert Excel Worksheet Functions 2 October 31st 04 05:14 PM


All times are GMT +1. The time now is 11:55 AM.

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

About Us

"It's about Microsoft Excel"