Excel Approximate Text Match [closed]

余生颓废 提交于 2019-12-01 19:17:05

Take a look at the Excel Fuzzy Lookup add-in. It is free to download from Microsoft. The tool implements the Levenshtein edit distance algorithm to return a similarity score between rows. Among other customizable features, the tool also allows you to set a threshold for how well the values must match in order to return the approximate result.

Rather than returning the count like you mentioned, the tool will return a table with the most similar match in column A relative to each entry in column B. From there you could simply use a filter and perform a count on the resulting column.

http://www.microsoft.com/en-us/download/details.aspx?id=15011

Charlie

In addition to the Excel Fuzzy lookup add-in, there is another add-in (also a free download) that provides a couple functions that may be helpful. One is pwrVLOOKUP and provides a fuzzy vlookup capability. The other is pwrSIMILARITY and would give you a similarity score (between 0 and 1) from which you can base your matching within your worksheet. The PowerUps add-in for Excel works in Excel 2003 thru 2013.

An example is posted on the page here: Example Demo

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!