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 ?
26 Jul 2019 at 07:32 PM
0pnshow more
GillGill
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 begining or at the end or in the middle.

03 Aug 2019 at 07:53 PM
1pnshow more
TimTim
Share on FacebookShare on TwitterShare on LinkedInSend email
Follow us on Facebook & Twitter
2021 AnswerTabsTermsContact us