ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Comparing worksheets (https://www.excelbanter.com/excel-worksheet-functions/123490-comparing-worksheets.html)

Spartan

Comparing worksheets
 
I have seen that there are already other discussions regarding this and
I have gone through quite a few but couldn't quite make sense of it or
use the assistance provided there.

I have two worksheets. They have multiple columns and I need to compare
the two sheets to look for any data thats missing in either sheet or
any row that has different info for an employee and then highlight
where the difference is arising. Can anyone help about me with this?
Thanks in advance.


[email protected]

Comparing worksheets
 

Spartan wrote:
I have seen that there are already other discussions regarding this and
I have gone through quite a few but couldn't quite make sense of it or
use the assistance provided there.

I have two worksheets. They have multiple columns and I need to compare
the two sheets to look for any data thats missing in either sheet or
any row that has different info for an employee and then highlight
where the difference is arising. Can anyone help about me with this?
Thanks in advance.


You can use COUNTIF to compare them, in a helper column next to the
column you're looking for. If the fields are always in the same order,
you can make a string out of all of the fields such as =A1&B1&C1&D2 to
make a combined field. Then make the same string on the other sheet,
and use countif on each sheet to compare it to the field on the other
sheet. Where you have 1, it's on the other sheet. Where threre are 0s,
it's not on the other sheet.



All times are GMT +1. The time now is 11:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com