=Countifs(A:A;"*"& B1 &"*")
| A | B | C | |
|---|---|---|---|
| 1 | Hello, my name is John, Hello, I'm John | Hello, people | =countifs(A:A;"*"& B1 &"*") |
| 2 | Hello, I'm John, Hello, people call me John | Hello, my name is John | =countifs(A:A;"*"& B2 &"*") |
| 3 | Hello, my name is John | ||
| 4 | Hello, people |
=COUNTIFs(A:A;"*"& "Hello, people" &"*")
An image of the function test:enter image description here