Once a while, I have to work on Excel sheet manually. Today I have to search exported hundreds of ip addresses in a pre-defined excel spreadsheet to see if there is a match. It seems a easy work, but it took me almost an hour to find right formula.

Column O includes all exported ip addresses. I have to manually search if those column O’s ip addresses are appearing in column B’s text. If yes, which row is it?

Formula is set at Column N.

=MATCH(“*”&(O6)&”*”,B:B,0)

As you can see from cell N6, the number is 7, which means the text in B7 includes O6’s string.
N12’s number is 5, which means the test in B5 includes O12’s string. 

By Jon

Leave a Reply