+ Reply to Thread
Results 1 to 4 of 4

Returning Only One Instance In A List

  1. #1
    Forum Contributor
    Join Date
    10-31-2010
    Location
    london
    MS-Off Ver
    Excel 365
    Posts
    150

    Returning Only One Instance In A List

    Hi All, I was wondering if you could help,

    id like to only return a instance where they may be multiple duplicates

    So on sheet1 column A may look like

    84946
    84946
    84946
    84946
    84946
    82740
    82740
    82740
    82740
    74063
    74063
    74063
    74063

    What id like to happen is sheet 2 column A would show

    84946
    82740
    74063

    is this possible with a formula.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Returning Only One Instance In A List

    hi bopsgtir. assuming data in A2:A14 of sheet1, try this array formula in Sheet2 A2:
    =IFERROR(INDEX(Sheet1!$A$2:$A$14,MATCH(0,COUNTIF(A$1:A1,Sheet1!$A$2:$A$14),0)),"")

    if you want to put in a bigger range & ignore blanks, maybe:
    =IFERROR(INDEX(Sheet1!$A$2:$A$20,MATCH(0,IF(Sheet1!$A$2:$A$20<>"",COUNTIF(A$1:A1,Sheet1!$A$2:$A$20)),0)),"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Returning Only One Instance In A List

    Hi bopsgtir

    Or a non array formula, in B2 and copy down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

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

    Re: Returning Only One Instance In A List

    With your list in A1:A13


    This regular formula approach returns the unique numeric items in descending order
    Please Login or Register  to view this content.
    Copy that formula down as far as you need
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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