COUNTIF partial text match

Dear Community,

Is there a way to do COUNTIF in Numbers for partial text match? I have a very long column of text in Numbers and I want to count the number of cells that contain a partial matches to a given text.


Thanks,


Rob

Posted on Jun 30, 2020 8:03 AM

Reply
4 replies

Jul 1, 2020 2:33 AM in response to cloud forest kid

Hi Rob,


Try this. I copied and pasted your question into a Numbers table. Then I used the SEARCH function to locate the first occurrence in each cell of a string ("co") entered in Header Row A1.

If SEARCH does not find the string, IFERROR steps in to return the NULL character ("").


Formula in Footer Row B9:

=COUNTIF(B,">0")

Three cells contain at least one occurrence of the string "co".


Regards,

Ian.




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

COUNTIF partial text match

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.