Home > String Operations > Text Search Count

Text Search Count

If you want to do a text search count in a range, you can use the following formulas:
Where D3 is the search text and the range A2:A16 houses the data.

An array formula using SUM and SEARCH

{=SUM(IF(ISERROR(SEARCH(D3,A2:A16)),0,1))}

Another using COUNTIF:

=COUNTIF(A2:A16,”*”&D3&”*”)

This picture might make it clear:

Categories: String Operations Tags:
  1. No comments yet.
  1. No trackbacks yet.