Random Row comparison in two worksheets

Arafat

Board Regular
Joined
May 3, 2011
Messages
61
Hello Guys,

I have two excel sheets and i need to compare the rows and highlight them, the problem is the rows are random and even the columns are not even. Below is the sample data

Ex:
Sheet 1
Members
Test1 test2 test3 test4
Key 2 3 4

Sheet2
Members
Test1 test2 test3 test4
Key 2 3 4


From above example what i want to do is i need to find Key and then compare if test2 test3 & test 4 values are similar are in sheet2, if not then highlight only that particular cell in sheet1.

So far i have followed this logic

First i search for Members and from there i need to offset one row and pick that value then travel through the same row columns and do the same in the sheet2, but couldn't achieve much success.

What will be best way to find out, i need to loop this until the cell is blank. in range A.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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