+ Reply to Thread
Results 1 to 4 of 4

How to identify common #s amongst columns

  1. #1
    Registered User
    Join Date
    06-29-2010
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2016
    Posts
    75

    How to identify common #s amongst columns

    Hello all,

    I have a relatively simple issue. I have 3 columns of 50 numbers each; the numbers are non-sequential and may as well be random.

    I need to identify the 'common numbers': which numbers appear in all 3 columns. This can be displayed anywhere, really, I just need a quick way of doing it.

    Thanks very much for your help!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: How to identify common #s amongst columns

    Put this formula in D1 and copy down to D50. All the numbers in column A that exist in columns B and C will appear.

    =IF(AND(ISNUMBER(MATCH(A1,B:B,0)),ISNUMBER(MATCH(A1,C:C,0))), A1, "")
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: How to identify common #s amongst columns

    Here's a shrinky dink example:
    With this list in A1:C10..and assuming no blank cells
    Please Login or Register  to view this content.
    This section defines the list of unique numbers in ascending order
    Please Login or Register  to view this content.
    Copy E3 down as far as you need...through E15 in this case

    This section flags the numbers in that list that occur in all three columns:
    Please Login or Register  to view this content.
    Copy F2 down through F15

    Since numbers 10 and 13 are the only ones that occur in all 3 columns,
    this is the final listing:
    Please Login or Register  to view this content.
    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    06-29-2010
    Location
    Minneapolis, MN
    MS-Off Ver
    Excel 2016
    Posts
    75

    Re: How to identify common #s amongst columns

    I don't have access to Excel outside of work, but these both look to be great solutions. I'll update with results, thanks very much!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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