+ Reply to Thread
Results 1 to 5 of 5

Formula to create a list of unique values / remove duplicates

  1. #1
    Registered User
    Join Date
    01-09-2014
    Location
    United Kingdom
    MS-Off Ver
    Mac Excel 2011
    Posts
    20

    Formula to create a list of unique values / remove duplicates

    Hi,

    I was wondering if there is a formula to take a list of values and use a formula to extract a list of unique values.

    See the attached spready, with column a containing a list of fruits, which includes the same type of fruit in some rows and then column E, which only contains the unique values.

    Of course I can copy the values from column A into another column and then manually remove duplicates.

    I was just wondering if there is a formula way to do that automatically?RemoveDuplicatesFormula.xlsx

    Many thanks!

    TT

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Formula to create a list of unique values / remove duplicates

    It can be done via an array formula, (check this link:http://www.get-digital-help.com/2009...uniquedistinct) but its probably easiest to copy the column to a new sheet then go to the Data ribbon, Data Tools group and use the Remove Duplicates function. Or use a pivot table.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  3. #3
    Registered User
    Join Date
    01-09-2014
    Location
    United Kingdom
    MS-Off Ver
    Mac Excel 2011
    Posts
    20

    Re: Formula to create a list of unique values / remove duplicates

    Thanks for that. Manually makes sense, but I often have to deal with spreadsheets with timesheets and projects and doing it manually all the time is a little time consuming.

    I'll certainly look at the formulas.

    Many thanks!

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,167

    Re: Formula to create a list of unique values / remove duplicates

    Hi,

    Instead of using array formulas, I'd do a very quick Pivot Table and drag the Fruit to the Row box. Then you can copy and paste, using values only the unique values in the fruit column. No formulas needed if you know about Pivot Tables.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  5. #5
    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: Formula to create a list of unique values / remove duplicates

    But if you do want to use formula, here it is

    =IFERROR(INDEX($A$2:$A$10,MATCH(0,INDEX(COUNTIF($E$1:E1,$A$2:$A$10),,),)),"")


    A
    B
    C
    D
    E
    1
    Fruit Number UNIQUE FRUITS
    2
    Apples
    2
    Apples
    3
    Pears
    4
    Pears
    4
    Oranges
    8
    Oranges
    5
    Apples
    1
    Tomatoes
    6
    Tomatoes
    3
    7
    Tomatoes
    9
    8
    Pears
    3
    9
    Pears
    4
    10
    Oranges
    9
    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

+ 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. [SOLVED] Remove duplicates to create list of unique values?
    By hulayogi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2013, 01:46 PM
  2. [SOLVED] Formula to create an ordered list and remove duplicates without using macros
    By Skiingbeancounter in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-07-2012, 06:52 PM
  3. [SOLVED] Unique Values Without Remove Duplicates
    By Camel in forum Excel General
    Replies: 25
    Last Post: 07-20-2012, 04:17 AM
  4. Replies: 1
    Last Post: 05-24-2011, 04:04 AM
  5. Macro to remove duplicates values and keep unique values bases on multiple criteria
    By Ricker090 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-16-2011, 04:37 PM

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