ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Count Multiple Instances of Text in a Cell (https://www.excelbanter.com/excel-discussion-misc-queries/171732-re-count-multiple-instances-text-cell.html)

CLR

Count Multiple Instances of Text in a Cell
 
Oops, misread your post......they don't count multiple instances within a
single cell.

My Bad, sorry

Vaya con Dios,
Chuck, CABGx3



"CLR" wrote:

Your formulas work fine in my Excel97

Vaya con Dios,
Chuck, CABGx3



"dave roth" wrote:

Good Afternoon:

I need to be able to count multiple instances of the same piece of text in a
given cell, i.e. "blue, blue, red, green." How I currently have this setup
is:

=countif(I2:I44,"*blue*")
=countif(I2:I44,"*green*")
=countif(I2:I44,"*red*")
on separate rows. In the above example these will return 1 blue, 1 green,
and 1 red; I need it to return 2 blues.

Thanks very much, and a good weekend to all.

Dave Roth



All times are GMT +1. The time now is 03:36 AM.

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