In this post, we will look at how to use the IF function to check if a cell contains specific text.
The IF function when used to compare text values, checks for an exact match. But in this blog post we want to check for a partial match. We are interested if the cell contains the text anywhere within it.
For our example, we have a list of addresses as shown below. And we want to display the word ‘local’ if the address contains the text ‘CB2’.

So any postcode beginning with ‘CB2’ is considered local. Anything else is not.
[Read more…] about Excel IF Function Contains Text – A Partial Match in a Cell







