+ Reply to Thread
Results 1 to 4 of 4

Help in comparing multiple columns in 2 sheets and highlight the mismatch wherever appl..

  1. #1
    Registered User
    Join Date
    09-11-2019
    Location
    india
    MS-Off Ver
    2016
    Posts
    78

    Help in comparing multiple columns in 2 sheets and highlight the mismatch wherever appl..

    Hello All,
    I am new to Excel formulas, macros and functions.
    My job demands to work on excel and I spend a lot of time in doing manual tasks. With the necessity, I have learnt bits and pieces of excel formula and VBA but cant do complex things like this one.

    I want to compare 2 excel sheets name "GPGI" VS "GPGK" and find out the mismatch in each column starting from "A" to "J". It should tell me where is the mis match.

    How I do manually:

    Dirty case:

    I go to Column A in GPGI filter for "INF_DTSQ2001" and then go to column A in GPGK and filter for the same. Now When I do that I can see the mismatch like In column A of GPGI at row no. the name is "INF_DTSQ2001" where as in row 2 of GPGK its is "INF_DTSQ2001_NOX". Similarly column B name in both the sheets is different. Like wise I need the data. I have provided my comments in Column L of GPGI.

    Clean Case:

    When I go and filter for INF_AE3001 in Column A of GPGI and same filter in GPGK everything matches all the cells and columns. So I have provided a comment as "No issue " in Column L of GPGI.

    What I have done for time being:

    I had done a concatenation formula for both the sheets . Post that I did a vlookup to find out the NA or mis match. But after that also I have to do manual checking for each mismatch and where exactly the mismatch is. if in any column, cell there is a extra space or underscore then that also be highlighted.


    Pease see the attached sheet. Please help me here.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2508
    Posts
    19,511

    Re: Help in comparing multiple columns in 2 sheets and highlight the mismatch wherever app

    Maybe the attached file will help.
    The following formula in N2:X26 of the GPGI sheet displays mismatched data from the GPGK sheet, which may make it easier to identify on what you want to comment in column L:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    09-11-2019
    Location
    india
    MS-Off Ver
    2016
    Posts
    78

    Re: Help in comparing multiple columns in 2 sheets and highlight the mismatch wherever app

    Thanks a lot my dear

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2508
    Posts
    19,511

    Re: Help in comparing multiple columns in 2 sheets and highlight the mismatch wherever app

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Comparing a cell in sheet 1 to columns in multiple sheets
    By chrisdua12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-13-2016, 04:46 PM
  2. VBA comparing 2 sheets highlight differences.
    By KK33317 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-28-2015, 09:29 PM
  3. [SOLVED] Comparing multiple columns in two sheets
    By joeyga in forum Excel General
    Replies: 3
    Last Post: 04-08-2015, 03:02 PM
  4. Comparing Multiple Columns on 2 sheets and report Exceptions on 3rd Sheet
    By KrystalQ in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2014, 11:41 AM
  5. Comparing Data on Multiple Sheets and Columns
    By ande2428 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-06-2014, 10:33 AM
  6. [SOLVED] Comparing data in columns over multiple sheets
    By BigBadBill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2013, 02:01 PM
  7. Comparing multiple columns in multiple sheets
    By Quijibo187 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-13-2009, 02:27 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1