Count Cells that begin with a specific text
I wanted to COUNTIF the number of cells that start with specific four letters in a column of a reference sheet. I used the formula below and it returns zero.
=COUNTIF({Reference Sheet}, "ABCD")
Is there a formula to return the number of cells that have the first four letters as "ABCD"?
0
Best Answer
-
Try something like this...
=COUNTIFS({Reference Sheet}, LEFT(@cell, 4) = "ABCD")
thinkspi.com
1
Answers
-
Try something like this...
=COUNTIFS({Reference Sheet}, LEFT(@cell, 4) = "ABCD")
thinkspi.com
1