Using countif with Mid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to create a countif statement that will look for a specific
word in an array of text strings?

I tried =COUNTIF(A3:A200,MID(A3:A200,44,5)="Word") where Word is what I am
looking for. Unfortunately this does not work. It returns 0. I also tried
it with ctrl + alt + enter and get the same result.

Thanks
 
try. NO need to array enter. You may have to play with the 44 vs 45
=SUMPRODUCT((MID(B5:B8,45,4)="word")*1)
 
This worked great. Thanks

Don Guillett said:
try. NO need to array enter. You may have to play with the 44 vs 45
=SUMPRODUCT((MID(B5:B8,45,4)="word")*1)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top