+ Reply to Thread
Results 1 to 7 of 7

Compare Multiple Columns to a Master column

  1. #1
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Cork, Ireland
    MS-Off Ver
    Excel 365
    Posts
    149

    Compare Multiple Columns to a Master column

    Hi,

    I've attached an example to explain what I'm trying to do.

    Any help would be great.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Hi ! Try this demonstration !


    According to your attachment as a VBA beginner starter :

    PHP Code: 
    Sub Demo1()
        
    Dim F$, C%, V
            F 
    Replace("TRANSPOSE(IF(ISNUMBER(MATCH(¤,#,0)),FALSE,¤))""¤"Range("A2", [A1].End(xlDown)).Address)
            [
    K1].CurrentRegion.Offset(1).Clear
        
    For 4 To [D1].CurrentRegion.Columns.Count 3
            V 
    Filter(Evaluate(Replace(F"#"Range(Cells(2C), Cells(C).End(xlDown)).Address)), FalseFalse)
            If 
    UBound(V) > -1 Then Cells(27).Resize(UBound(V) + 1) = Application.Transpose(V)
        
    Next
    End Sub 
    ► Do you like it ? ► ► So thanks to click on bottom left star icon « Add Reputation » ! ◄ ◄

  3. #3
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Compare Multiple Columns to a Master column

    Try this:

    Please Login or Register  to view this content.
    Last edited by xladept; 05-08-2020 at 01:01 PM.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  4. #4
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Compare Multiple Columns to a Master column

    Perhaps
    Please Login or Register  to view this content.
    Last edited by PCI; 05-08-2020 at 05:18 PM.
    - Battle without fear gives no glory - Just try

  5. #5
    Forum Contributor
    Join Date
    05-24-2012
    Location
    Cork, Ireland
    MS-Off Ver
    Excel 365
    Posts
    149

    Re: Compare Multiple Columns to a Master column

    Thank you all - all work great!
    Much appreciated!

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Compare Multiple Columns to a Master column

    You're welcome and thanks for the rep!

  7. #7
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: Compare Multiple Columns to a Master column

    Good news, glad to help you.
    Thx for the Rep...!

+ 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. [SOLVED] Compare Columns - Clear Master List Cell
    By Logit in forum Excel Programming / VBA / Macros
    Replies: 24
    Last Post: 02-18-2020, 03:35 PM
  2. Compare Single Column Range against Multiple Columns and return Sum
    By rcrabtree09 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-05-2017, 12:07 AM
  3. VBA Code to compare/match multiple columns in one sheet with multiple columns in another
    By cellsearch123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-27-2016, 09:25 AM
  4. 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
  5. Replies: 2
    Last Post: 09-18-2014, 05:42 AM
  6. Replies: 3
    Last Post: 04-07-2006, 11:45 AM
  7. [SOLVED] Compare multiple column of data and list out common and unique component in adj columns
    By kuansheng in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 02-01-2006, 06:55 PM

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