How do I look up variations of spellings in a column list and return the correct value shown in the first row

daniel_san

New Member
Joined
Apr 6, 2017
Messages
8
Currently fielding a question in a survey which allows free form responses of different brands, as a result there are a lot of misspellings and random responses. I am building a column list of these misspellings and random responses with the correct spellings/brand as a header of the column. I have multiple columns of lists side by side (as below). I'm looking for a formula which can look for whatever value has been written in the range of responses and return the correct corresponding value as shown in the header. Is this possible? I tried index match but it would only let me use match on one row of data instead of all of it. Hlookup doesn't work as it looks up for the first instance of a word (e.g. 'no' would match to both 'no idea' which sits under "don't know" and just 'no' which sits under "None"). I'm tearing my hair out here! Thanks in advance.

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Don't Know[/TD]
[TD]Boohoo.com[/TD]
[TD]Very[/TD]
[TD]Amazon[/TD]
[/TR]
[TR]
[TD]dk[/TD]
[TD]boohoo[/TD]
[TD]Very.com[/TD]
[TD]amazon[/TD]
[/TR]
[TR]
[TD]dunno[/TD]
[TD]boohoo.co.uk[/TD]
[TD]very.co.uk[/TD]
[TD]amazen[/TD]
[/TR]
[TR]
[TD]dont know[/TD]
[TD]BOOHOO.com[/TD]
[TD]VERY[/TD]
[TD]amazon.com[/TD]
[/TR]
[TR]
[TD]no idea[/TD]
[TD]bohoo[/TD]
[TD]vry[/TD]
[TD]amazon.co.uk[/TD]
[/TR]
[TR]
[TD]not sure[/TD]
[TD]booho[/TD]
[TD]veery[/TD]
[TD]AMAZONN[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
You would find it easier to create a list like:

[TABLE="width: 264"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]dk[/TD]
[TD]Don't Know[/TD]
[/TR]
[TR]
[TD]dunno[/TD]
[TD]Don't Know[/TD]
[/TR]
[TR]
[TD]dont know[/TD]
[TD]Don't Know[/TD]
[/TR]
[TR]
[TD]no idea[/TD]
[TD]Don't Know[/TD]
[/TR]
[TR]
[TD]not sure[/TD]
[TD]Don't Know[/TD]
[/TR]
[TR]
[TD]boohoo[/TD]
[TD]Boohoo.com[/TD]
[/TR]
[TR]
[TD]boohoo.co.uk[/TD]
[TD]Boohoo.com[/TD]
[/TR]
[TR]
[TD]BOOHOO.com[/TD]
[TD]Boohoo.com[/TD]
[/TR]
[TR]
[TD]bohoo[/TD]
[TD]Boohoo.com[/TD]
[/TR]
[TR]
[TD]booho[/TD]
[TD]Boohoo.com[/TD]
[/TR]
[TR]
[TD]Very.com[/TD]
[TD]Very[/TD]
[/TR]
[TR]
[TD]very.co.uk[/TD]
[TD]Very[/TD]
[/TR]
[TR]
[TD]VERY[/TD]
[TD]Very[/TD]
[/TR]
[TR]
[TD]vry[/TD]
[TD]Very[/TD]
[/TR]
[TR]
[TD]veery[/TD]
[TD]Very[/TD]
[/TR]
[TR]
[TD]amazon[/TD]
[TD]Amazon[/TD]
[/TR]
[TR]
[TD]amazen[/TD]
[TD]Amazon[/TD]
[/TR]
[TR]
[TD]amazon.com[/TD]
[TD]Amazon[/TD]
[/TR]
[TR]
[TD]amazon.co.uk[/TD]
[TD]Amazon[/TD]
[/TR]
[TR]
[TD]AMAZONN[/TD]
[TD]Amazon
[/TD]
[/TR]
</tbody>[/TABLE]

then you can just use VLOOKUP.
 
Upvote 0
Thanks for the tip, I don't know why I didn't think of doing it this way in the first place. pretty **** obvious really! cheers
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top