+ Reply to Thread
Results 1 to 4 of 4

Taking a column and removing duplicates (and possibly alphabetizing at the same time)

  1. #1
    Registered User
    Join Date
    03-02-2015
    Location
    Arizona
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO
    Posts
    14

    Taking a column and removing duplicates (and possibly alphabetizing at the same time)

    Say I have a column:
    bat
    giraffe
    elephant
    cat
    dog
    lion
    dog
    zebra
    elephant
    cat

    I would like to make a column next to it that removes duplicates and alphabetize them (if not possible to do in the same step, it's fine to alphabetize them in a third column and step):

    bat
    cat
    dog
    elephant
    giraffe
    lion
    zebra

    How can I do this? Thank you so much!
    Last edited by justinx; 11-26-2021 at 12:47 AM.

  2. #2
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Taking a column and removing duplicates (and possibly alphabetizing at the same time)

    Try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-02-2015
    Location
    Arizona
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO
    Posts
    14

    Re: Taking a column and removing duplicates (and possibly alphabetizing at the same time)

    Quote Originally Posted by DJunqueira View Post
    Try this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you!

    It's adding a 0 in the last cell, I think it's because it's interpreting the blanks in that column (I'm using the reference A:A) as 0 and adding it as a unique entry.

    Is there a way to specify it to grab only text, or only nonblank, in there?

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: Taking a column and removing duplicates (and possibly alphabetizing at the same time)

    Yes:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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] removing duplicates only within duplicates on another column
    By eculver in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-10-2016, 08:08 PM
  2. [SOLVED] Removing duplicates from column A while keeping their respective values from column B
    By joel.mugabe in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-19-2016, 02:38 AM
  3. [SOLVED] Removing duplicates with rules in another column
    By guy13 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2014, 07:47 AM
  4. [SOLVED] Find duplicates in column A, add values from column B (possibly delete duplicates)
    By luarwhite in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-12-2013, 04:34 PM
  5. [SOLVED] Help taking a time from one field and outputting a time period in a different column
    By Hidden_Gecko in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-07-2013, 12:42 AM
  6. Replies: 4
    Last Post: 09-05-2011, 01:06 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