How to count excel cells that contain specific part of text ?

What formula should I use to count Excel cells that include the specific part of text value ?
0
give a positive ratinggive a negative rating
Hi,

To count the number of cells that contain specific part of text, you can use the function COUNTIF and you have to include * into criteria. For example to count the number of cells, that include "London", you have to use the following formula:

=COUNTIF(B2:B9,"*London*")

count cells with specific text excel

This formula will find 4 matching cells. It counts the cells, that contain "London" at the beginning or at the end or in the middle.

Share on FacebookShare on TwitterShare on LinkedInSend email
1 answer
x
x
2024 AnswerTabsTermsContact us