I have a need to count cells with a particular string of text. I have a list of each string of text to be counted.
I am forming a query using CountIf in the form:
=COUNTIF(C1:C4929,"String")
where every occurrence of 'String' is counted and output.
I would like to show the counts for each string of text in a column alongside the String. I have created a column with one string per cell.
What I would love to be able to do is call the string in the cell into the CountIf function, sort of like:
=COUNTIF(C1:C4929, "Whatever's in the column to the left of this output cell")
But I can't work it out. Am looking and will update here IMMEDIATELY if I work it out.
EDIT:
DONE!
=COUNTIF(C1:C4929,INDIRECT("RC[-1]",0))