+ Reply to Thread
Results 1 to 3 of 3

VLOOKUP Function and color coding

  1. #1
    Forum Contributor
    Join Date
    12-17-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    137

    VLOOKUP Function and color coding

    Team,

    I have two sheets EDW1, EDW2. Please find the same attached.

    EDW1 has less records where as EDW2 has more records.

    In Comparison Sheet, I need to compare EDW2 with EDW1 results (Basically the value is ADD)

    Steps to follow

    1) Group the duplicate values in EDW1 (Do not consider Order ID)
    2) Group the duplicate values in EDW2 (Do not consider Order ID)
    3) Now Compare EDW2 with EDW1 sheet
    4) The matched records should be highlighted with Green
    5) Extra records in EDW1 should be highlighted with RED
    6) Extra records in EDW2 should be highlighted with Blue

    Please do let me know if I am not clear

    Thanks!
    Kiran
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-14-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: VLOOKUP Function and color coding

    Hi,

    A. I would like to suggest to Concatenate Names for you to have exact count of duplicate values

    Amanda Johnson copy this formula in Cell F183 =CONCATENATE(C183," ",D183)
    Amanda netzel

    B. do Conditional Formatting for Concatenated Names for duplicated (Home>>Conditional Formatting>>Highlights Cells Rule>>Duplicate Values)
    C. Sort by Color

    Then let us know if you are near to what you want.

    In Steps 3. What do you want to compare? You mean how mean are duplicated by name and by ID Nos.?

    Thanks

    Rev12
    Attached Files Attached Files
    Last edited by Rev12; 06-01-2018 at 12:42 PM.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: VLOOKUP Function and color coding

    an alternative approach...
    helper column on 1
    F2=COUNTIFS($C$2:C2,C2,$D$2:D2,D2)
    your profile says you have 2007, dont think that has countifS. If not, use this instead...
    =SUMPRODUCT(--($C$2:C2=C2),--($D$2:D2=D2))
    copy down as needed

    Do the same for 2

    This will give you a count of unique names (they will all show 1)

    On Comp sheet...
    also not sure how you want to handle that? Can you explain more and show some examples?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. if then statement color coding (or another function???)
    By AnisaF in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM

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