+ Reply to Thread
Results 1 to 4 of 4

List of numbers

  1. #1
    Registered User
    Join Date
    10-19-2008
    Location
    UK
    Posts
    63

    List of numbers

    Hi,

    I have a list of numbers in sheet A, column A.
    Some numbers are repeated more than once.
    I would like to create another list with all numbers but none of them repeated. So if I have 2,2,4,5,5 I would like to see a list which shows 2,4,5.
    How do I do that?

    Thanks,
    Nicola

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,727
    Hello Nicola,

    The easiest way would be to filter the numbers, assumes you have a header in the column. Select the column and use Data > Filter > Advanced filter and use the "Unique records only" option. You can send the list to another location if you want, or copy and paste it.

    Alternatively, assuming your data is in A1:A100 you can use a formula approach. Put this formula in C1

    =MIN(A1:A100)

    and then in C2

    =MIN(IF(ISNUMBER(A$1:A$100),IF(ISNA(MATCH(A$1:A$100,C$1:C1,0)),A$1:A$100)))

    confirmed with CTRL+SHIFT+ENTER and copied down column

    When you run out of numbers you'll get zeroes

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492
    highlight the column, click on Data > Filter > Advanced Filter

    Click > Copy to another location
    Fill out the Copy To: target
    Click Unique records only

    Voila.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    Thread moved to a question forum.
    Entia non sunt multiplicanda sine necessitate

+ 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