Matching data on multiple sheets

LostinVA

New Member
Joined
May 23, 2018
Messages
43
Hi All -

Is there a way to compare data in a column of one workbook tab with data on another tab (multiple columns) to see if there are ANY matches in the string of data??

For example:

Sheet 1, Cell A1: "Red, Yellow, Car, Truck"
Sheet 2, Column A is "Color" and Column B is "Vehicle Type"
- Column A contains the value "Red" in cell A15
- Column B contains the value "Car" in cell B5 and the value "Truck" in cell B10.

So on the first tab, is there a way to identify that "Red", "Car", and "Truck" were a match to data from Sheet 2?

My apologies if this doesn't quite make sense, I'm having a hard time describing my ask.

Appreciate any help you all can provide. Thank you!
 
I'm no expert, I have made some changes to the code, you can download From this link. I have changed some of Fluffs code, hope it helps.

I have also added comments to the code have a read, if you want to make changes
I do not believe this type of reference conforms to MrExcel posting guidelines. The link provided requires the user to create an account to log in and MrExcel forum members will not have access to the solutions offered. It would be better if you post your suggested solutions in the thread where the members can all see it.
 
Upvote 0

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.
I'm not sure what you see on your end, but when I look at it it has a download button and does not require you to logon or create an account, anyone with the link should be able to download a copy, without logging on.
1585653615864.png
 
Upvote 0

Forum statistics

Threads
1,215,436
Messages
6,124,869
Members
449,192
Latest member
MoonDancer

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