+ Reply to Thread
Results 1 to 2 of 2

Special filtering list

  1. #1
    Forum Contributor
    Join Date
    01-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2016
    Posts
    133

    Special filtering list

    Hello.
    How can I compare values in columns NUMEPRENUME, CNP from the worksheet BAZALUCRU with the columns Nume2 and CNP2 from the worksheet referinta2, and display values that are repeated only once and those that are not repeated to be displayed below them separate?
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,919

    Re: Special filtering list

    If it is a combination of name and CNP that make a record unique, you will need to make what I call a "composite key" from them. Composite Key is a database term and the idea is similar. In this case we add a helper column in each table with the formula: =TRIM(A2)&":"&B2. I put a colon ( : ) between the two parts to make it easier to read. I had to use TRIM because some of the names have extra spaces in them.

    Then we compare composites using =ISNUMBER(MATCH(G2,referinta2!$E$2:$E$591,0)) This formula is true if the name is found on the other list and false if it is not.

    You can filter on the list to get the rows you want.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ 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. Replies: 3
    Last Post: 01-07-2016, 05:47 PM
  2. [SOLVED] trouble filtering a list. Why isn't column filtering?
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 03:05 PM
  3. [SOLVED] trouble filtering a list. Why isn't column filtering?-number of criteria
    By Pat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-18-2005, 11: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