+ Reply to Thread
Results 1 to 5 of 5

Three Column Comparsion Against Another Three Columns

  1. #1
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Three Column Comparsion Against Another Three Columns

    Hello Wizards of Excel,

    I currently trying to compare three lists vs another three lists to see if they match or not. My goal here is to mark 'Match" if all three columns from list 1 matched all three columns from list 2 and if any of the of the columns doesn't match against list one it would either not match or return the value of the column that doesn't match (either option would work). I tried using a1=b2 and Index Match but it didn't give me the results I wanted. I also tried using VBA to see if this worked but it didn't work either. I provided a sample file of the problem with this post.

    Any help with this would be appreciated

    Thank You for your time
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Three Column Comparsion Against Another Three Columns

    Maybe try at I4

    =IF(AND(E4=A4,F4=B4,G4=C4),"Match",IF(A4=E4,"",E$3&" ")&IF(B4=F4,"",F$3&" ")&IF(C4=G4,"",G$3&" "))

  3. #3
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Three Column Comparsion Against Another Three Columns

    at G4 array formula CSE

    =IF(A4:C4=E4:G4=TRUE,"Y","N")

    or non array formula
    =IF(SUMPRODUCT((A4:C4=E4:G4)*1)=COLUMNS(A:C)=TRUE,"Y","N")

  4. #4
    Valued Forum Contributor
    Join Date
    10-29-2012
    Location
    Mojokerto,Indonesia
    MS-Off Ver
    Excel 2007
    Posts
    554

    Re: Three Column Comparsion Against Another Three Columns

    sorry formula at I4

  5. #5
    Registered User
    Join Date
    08-11-2016
    Location
    New York
    MS-Off Ver
    2013
    Posts
    78

    Re: Three Column Comparsion Against Another Three Columns

    Thanks Ghozi and Bo_Ry,

    Both of these solutions worked exceptionally well Thanks!

+ 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. Compare multiple columns (column A,column B,Column C) and return value (Column D)
    By john008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2015, 08:24 AM
  2. Regular Expression - String comparsion
    By VBA-Snail in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-28-2014, 02:25 PM
  3. Replies: 0
    Last Post: 01-14-2014, 06:35 PM
  4. VBA- Comparsion Chart in on sheet/in a Window/Dialog Box??
    By LiLi1 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 04-14-2011, 03:57 PM
  5. Insert blank cell and labelling if difference in comparsion
    By Balfear in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2006, 10:20 AM
  6. Help on and IF comparsion
    By JustMe602 in forum Excel General
    Replies: 1
    Last Post: 05-18-2006, 07:45 PM
  7. how to do a comparsion between 2 files with same columns?
    By Gary Schaffer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-14-2005, 01:45 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