Search code examples
vbaexcelanalysisdata-manipulation

matching two columns in excel with slight difference in the spelling


I am working on huge excel sheets from different sources about the same thing. The way the sources report it and write down information is different. So, for example, one would write the location as "Khurais" whereas the other would write it as "Khorais".

Since both of these files are contain important information, I would like to combine them in one excel sheet so that I can deal with them more easily. So if you have any suggestion or tool that you think would be beneficial, please share it here.

P.s. The words in the excel sheet are translations of Arabic words.


Solution

  • You could use FuzzyLookup, a macro that allows you to do appropriate matching. It worked really well for me in the past and is actually really well documented.

    FuzzyLookup

    You can find it here: https://www.mrexcel.com/forum/excel-questions/195635-fuzzy-matching-new-version-plus-explanation.html including examples on how to use it.

    Hope that helps!

    PS obviously you can also use it stricly within VBA (not using worksheet functions)