Need help with a formula to find a given string in a column

kelly mort

Well-known Member
Joined
Apr 10, 2017
Messages
2,169
Office Version
  1. 2016
Platform
  1. Windows
Hello,
I have two sheets of data with the almost the same list of items. Just that one contains the few more list than the other, however the full list lacks some data fields I need to get added. I could sort if they were all full lists.

Is there a way to get both lists compared and see if part of names of items match on both sheet?

Formula or vba is cool. Thanks
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Stack the two lists on top of each other
Remove duplicates
Use VLOOKUP on two individual lists against unique list to see what matches are found in what list.

E.g. List 1: A, B, C, D
List 2: B, C, D, E, F
Unique List, A, B, C, D, E, F

Vlookup(List1, Unique List): A, B, C, D, (#no match E), (#no match F)
Vlookup(List2, Unique List): (#no match A), B, C, D, E, F
 
Last edited:
Upvote 0
Stack the two lists on top of each other
Remove duplicates
Use VLOOKUP on two individual lists against unique list to see what matches are found in what list.

E.g. List 1: A, B, C, D
List 2: B, C, D, E, F
Unique List, A, B, C, D, E, F

Vlookup(List1, Unique List): A, B, C, D, (#no match E), (#no match F)
Vlookup(List2, Unique List): (#no match A), B, C, D, E, F

Okay thanks. But I don't seem to understand your analysis. Can you explain further. Maybe actual formula will do.
 
Upvote 0
Copy list 1 to a new empty column
Copy list 2 underneath above
This creates a single list made up of list1 and list2
Select this single list
Use Excel's Remove Duplicate's feature to remove duplicates in this single list.
Use VLOOKUP against the original lists to match to this new list.
 
Upvote 0
Oh okay I get it now. But I am not sure there are even duplicates.

For example in list 1, "Apple Juice" in list 2, "Apple Jui" something like that. So virtually the list are different but I was thinking if I could compare few characters from left of each list since those seem to match.
 
Upvote 0
Hi,

Can you post a small sample of both lists (may be about 10 to 20 items) to clarify your requirements?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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