ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   counting specific words (https://www.excelbanter.com/excel-worksheet-functions/32436-counting-specific-words.html)

jen

counting specific words
 
I am attempting to count the number of cells in a range that contain specific
words. I can accomplish this with the =countif function, but only if my
criteria is the only text in the cell. Problem is I need to count cells that
contain unique sentences, yet contain a single common word.

Bob Phillips

=COUNTIF(A2:A1000,"*myword*")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"jen" wrote in message
...
I am attempting to count the number of cells in a range that contain

specific
words. I can accomplish this with the =countif function, but only if my
criteria is the only text in the cell. Problem is I need to count cells

that
contain unique sentences, yet contain a single common word.




Bill Kuunders

One way...........

Select -highlight- the cells
go to data<text to columns<
select delimited........space.........
select a new column to put the result


This will seperate all words into seperate cells
You can then use the countif function on the new area

--
Greetings from New Zealand
Bill K


"jen" wrote in message
...
I am attempting to count the number of cells in a range that contain
specific
words. I can accomplish this with the =countif function, but only if my
criteria is the only text in the cell. Problem is I need to count cells
that
contain unique sentences, yet contain a single common word.





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com