Matching columns from different sheets

Ken999

New Member
Joined
Jul 2, 2020
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
I am a newbie in using excel.

Anyone, please advise me on the formula or function needed to achieve the following:

I have 2 sheets in an excel file and the table in each sheet as follows-

Sheet1

Data1 Data2
1 Manager CEO
2 Admin Director


Sheet2

Name Role Result
1 Cavin Admin FALSE
2 John Manager FALSE
3 Gigi CEO / Director TRUE
4 Henry Director Admin TRUE
5 May Manager / Director FALSE

Basically, I wanted to do a matching between the column 'Role' under Sheet2 with the data in Sheet1 with the condition of
if Sheet1 either column Data1-row1 & row2 or Data2-row1 & row2, return a TRUE result if part of the string matches and return a False otherwise.

The challenging part would be that some values under Sheet2 column Role are in one cell and are separated by /.
And I dun want to split the Role into 2 different columns though.

Some excel guru out there, your help will be greatly appreciated.
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Ken999

New Member
Joined
Jul 2, 2020
Messages
2
Office Version
  1. 2019
Platform
  1. Windows
Correction to sheet2

4 Henry Manager / Admin TRUE
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,626
Messages
5,838,429
Members
430,547
Latest member
jopshio

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
Top