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.
本文介绍了一种在Excel中高效搜索并匹配IP地址的方法。通过使用MATCH函数结合通配符,可以快速定位指定IP地址出现的位置,从而节省手动查找的时间。

1250

被折叠的 条评论
为什么被折叠?



