+ Reply to Thread
Results 1 to 4 of 4

Excel Function to Generate list of unique entries from multiple columns

  1. #1
    Registered User
    Join Date
    09-09-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Post Excel Function to Generate list of unique entries from multiple columns

    New Picture (1)121212.jpg

    Please see the attached image.

    Column A, B, C and D contains data.

    In these four columns, there only 11 unique entries which are listed in column F.

    Using which function, we can generate this unique list of the data from the table?????

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Excel Function to Generate list of unique entries from multiple columns

    Hi and welcome to the forum,

    You can use this array formula to extract unique values from Column A

    Copy and paste formula in cell F2

    Press F2 (located on top left of your keyboard) then press and hold Ctrl and Shift keys together and hit Enter. Drag formula down.


    =IFERROR(INDEX($A$2:$A$100,MATCH(0,IF(ISBLANK($A$2:$A$100),"",COUNTIF(F$1:$F1,$A$2:$A$100)),0)),IFERROR(INDEX($B$2:$B$100,MATCH(0,IF(ISBLANK($B$2:$B$100),"",COUNTIF(F$1:$F1,$B$2:$B$100)),0)),IFERROR(INDEX($C$2:$C$100,MATCH(0,IF(ISBLANK($C$2:$C$100),"",COUNTIF(F$1:$F1,$C$2:$C$100)),0)),IFERROR(INDEX($D$2:$D$100,MATCH(0,IF(ISBLANK($D$2:$D$100),"",COUNTIF(F$1:$F1,$D$2:$D$100)),0)),""))))

    **Array formulas must be entered with Ctrl+Shift+Enter key combination.

    Corrected formula
    Last edited by AlKey; 01-16-2014 at 02:31 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Excel Function to Generate list of unique entries from multiple columns

    Listing the unique values from multiple columns means we have an index on each column. When it errors out, it then lists the next unique values of the following column.

    Put this in F2:

    =IFERROR(IFERROR(IFERROR(IFERROR(INDEX($A$2:$A$21, MATCH(0, COUNTIF($F$1:F1, $A$2:$A$21), 0)), INDEX($B$2:$B$21, MATCH(0, COUNTIF($F$1:F1, $B$2:$B$21), 0))),INDEX($C$2:$C$21, MATCH(0, COUNTIF($F$1:F1, $C$2:$C$21), 0))),INDEX($D$2:$D$21, MATCH(0, COUNTIF($F$1:F1, $D$2:$D$21), 0))), "")

    Array formula Confirmed with Ctrl+Shift+Enter

    and then copy downwards
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Registered User
    Join Date
    12-20-2013
    Location
    Malta
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Excel Function to Generate list of unique entries from multiple columns

    Can't you use "remove duplicates" function from tab menus?

+ 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: 7
    Last Post: 07-27-2013, 10:11 PM
  2. How do you create a unique list from multiple same named entries?
    By john dalton in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-08-2013, 03:57 AM
  3. Extracting unique entries from table with multiple rows and columns
    By Bonnister in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-04-2012, 11:48 AM
  4. Using VBA: I have a list with multiple entries.Need to reduce down to unique entries
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-25-2011, 03:19 PM
  5. [SOLVED] Need to create unique list from list of multiple entries
    By Jeff in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-17-2005, 01: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