Compare two columns and search for matches

Kiirito

New Member
Joined
Nov 20, 2014
Messages
16
Hello, From SHEET1, compare if column "E" is EQUAL to SHEET2 column "F" AND
From SHEET1, compare if column "F" is EQUAL to SHEET2" column "I".
If its not found , write in SHEET1 column "G" : "Not found"
If its found do this :
Compare SHEET1 if column "K" is EQUAL to SHEET2 column "AB" AND
Compare SHEET1 if column "L" is EQUAL to SHEET2 column "AC"
If BOTH compared values are the same then write in SHEET1 column "H" : "OK"
THEN
Compare SHEET1 if column "AA" is EQUAL to SHEET2 column "BW" AND
Compare SHEET1 if column "AB" is EQUAL to SHEET2 column "BX"
If BOTH compared values are the same then write in SHEET1 column "I" : "OK"
NOTE THAT : Columns "F" - "I" - "E" - "F" contains the company name. All other columns contains € values.Thats the first sheet :http://i.imgur.com/wa10mtC.jpg And thats the second sheet : http://i.imgur.com/OAPe7wA.jpg
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,222,697
Messages
6,167,702
Members
452,132
Latest member
Steve T

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