• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Compare 2 excel files

aksusa

New Member
Guys-


I need your help to compare 2 excel files


Excel File-1 (Sheet1)


Machine Class Instance Parameter RemedyGroup

servername FS /ora FSCapacity ETD

servername1 FS /ora1 FSCapacity ETD1

servername2 FS /ora2 FSCapacity ETD2

servername3 FS /ora FSCapacity ETD

servername FS /ora3 FSCapacity ETD3


Excel File-2 (Sheet1)

Delete Machine Class Instance Parameter RemedyGroup

yes servername1 FS /ora1 FSCapacity ETD1

yes servername FS /ora FSCapacity ETD

yes servername2 FS /ora2 FSCapacity ETD2

yes servername FS /ora FSCapacity ETD


I need to compare Excel File-1 with Excel File-2 for columns Machine | Instance | Remedygroup. For example servername is in Excel File-1 with values of /ora and Remedy Group of ETD and if it is matching then highlight in Green color in Excel File-1 .. if not red color
 
Helper column to concatenate fields in both files that need to match:

=A2&C2&E2

I'll assume this is col AA for now


Then, in whichever file you want to compare against other list, something like:

=ISNUMBER(MATCH(AA2,[OtherFile.xls]Sheet1!AA:AA,0))


Anything with a TRUE was found in the other list, FALSE indicates no match found.
 
Sure. Quick and dirty, record a macro of you doing the steps I stated above, filter on true/false, color your cells, and delete contents of helper cells.
 
Back
Top