Reputation: 2248
I'm trying to use countif function to count the number of bedrooms on a large rent roll sheet (hundreds of entries).
Is it possible to do this without using a helper column? I tried but get an error. Not sure why.
Thank you.
Upvotes: 1
Views: 112
Reputation: 50007
Use a wildcard:
=COUNTIF($B$2:$B$7,E3&"x*")
*Included the x
just in case the number of bedrooms goes past 9, but you might be able to drop it.
For more detail on why COUNTIF
with an array doesn't work, see this question.
Upvotes: 3