+ Reply to Thread
Results 1 to 3 of 3

Create list from named range with no duplicates

  1. #1
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Create list from named range with no duplicates

    See attached example

    I am trying to create a list of unique values from a dynamic named range.
    Any suggestions.
    Attached Files Attached Files

  2. #2
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Create list from named range with no duplicates

    Assuming that your Dynamic range named as Animal uses this function

    =OFFSET(Sheet2!$A$2,0,0,MATCH("*",Sheet2!$A:$A,-1)-1,1)

    ... function below gets unique values as per you wanted.. Paste this elsewhere, confirm with Ctrl+Shift+Enter (array entered) and copy down as far as neded.

    =LOOKUP(REPT("Z",255),CHOOSE({1,2},"",INDEX(Animal,SMALL(IF(IF(ISNA(MATCH(Animal,Animal,0)),"",MATCH(Animal,Animal,0))=ROW(Animal)-1,ROW(INDIRECT("1:"&ROWS(Animal))),""),ROW(A1)))))
    Last edited by contaminated; 08-20-2010 at 05:01 PM.
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

  3. #3
    Forum Contributor
    Join Date
    02-13-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2015
    Posts
    183

    Re: Create list from named range with no duplicates

    Will test!

+ 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