Hi All,
Here's what I need to do... search a bunch of cells for a specific text string, and return the number of times that text appears. I had this working before in a range of cells, but that range changed this time and now it's broken for some reason.
Here's the data...
A22 - the text to search for
B22 - the cell to return the number of times the text appears
I26-GB33 - the first range of cells
I35-GB40 - the second range
So for example, if A22 was Los Angeles, and Los Angeles appeared 10 times anywhere in cells I26-GB40, it would put 10 in B22. Row 34 has no data in it at all.
This is what I used before that worked, when I did this, it was I26-GB32, and I34-GB39. The first range increased 1 row this time.
=COUNTIF($I$27:$GB$40,A22) I don't know why I put to GB40 in there, there was no data on row 40. But it worked.
Any suggestions? Thanks!
Here's what I need to do... search a bunch of cells for a specific text string, and return the number of times that text appears. I had this working before in a range of cells, but that range changed this time and now it's broken for some reason.
Here's the data...
A22 - the text to search for
B22 - the cell to return the number of times the text appears
I26-GB33 - the first range of cells
I35-GB40 - the second range
So for example, if A22 was Los Angeles, and Los Angeles appeared 10 times anywhere in cells I26-GB40, it would put 10 in B22. Row 34 has no data in it at all.
This is what I used before that worked, when I did this, it was I26-GB32, and I34-GB39. The first range increased 1 row this time.
=COUNTIF($I$27:$GB$40,A22) I don't know why I put to GB40 in there, there was no data on row 40. But it worked.
Any suggestions? Thanks!