+ Reply to Thread
Results 1 to 8 of 8

Extract names from list only once

  1. #1
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Extract names from list only once

    Hello forum.
    I have in a column, a list (B10:B1000) of names and empty cells, but the names are repeated several times.
    How can i have a new list, with all the names of the existing list, but only once each of names?
    ie. If in existing list we have the name John 10 times, in a new list i want to have only once the name John.
    Thanks in advance.
    Nick

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract names from list only once

    You have a few options. One would be to copy your list to another column, then highlight that column > Data > Remove Duplicates > OK

  3. #3
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Re: Extract names from list only once

    Thanks for your suggestion but this list always updated with new or same names. I think that doesnt works well.

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract names from list only once

    If you would prefer a formula approach, perhaps you can try something like this:

    D2 =IFERROR(INDEX(B$1:B$1000,MATCH(0,COUNTIF(D$1:D1,B$1:B$1000),0)),"") Ctrl Shift Enter

    Edit: This one will handle blank cells:
    D2 =IFERROR(INDEX(B$1:B$1000,MATCH(0,IF(ISBLANK(B$1:B$1000),"",INDEX(COUNTIF(D$1:D1,B$1:B$1000),0,0)),0)),"") Ctrl Shift Enter
    Last edited by 63falcondude; 09-26-2017 at 03:01 PM.

  5. #5
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Re: Extract names from list only once

    Thank you very much falcon it works! But, why the second result is zero? I didnt have zeros in my list.

  6. #6
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract names from list only once

    Did you see the edit that I made to post #4? A 0 will be returned in place of a blank cell. The second formula should take care of that.

  7. #7
    Forum Contributor Immortal2014's Avatar
    Join Date
    09-18-2014
    Location
    Greece (EU)
    MS-Off Ver
    Office 2021
    Posts
    405

    Re: Extract names from list only once

    Quote Originally Posted by 63falcondude View Post
    ....
    Edit: This one will handle blank cells:
    D2 =IFERROR(INDEX(B$1:B$1000,MATCH(0,IF(ISBLANK(B$1:B$1000),"",INDEX(COUNTIF(D$1:D1,B$1:B$1000),0,0)),0)),"") Ctrl Shift Enter
    Ok falcon this works better, removes the zero! Than you again for your help! I really appreciate it!

  8. #8
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Extract names from list only once

    My pleasure, happy to help.

    Thanks for the rep!

+ 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] Extract first and last names from a list of names
    By Macfool in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2017, 06:44 AM
  2. [SOLVED] how to extract unique list of names in filtered data
    By XLalbania in forum Excel General
    Replies: 15
    Last Post: 12-18-2016, 09:30 AM
  3. [SOLVED] Extract names in a list, and present in order, based on qty criteria.
    By TrondG in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-23-2016, 08:04 AM
  4. Replies: 7
    Last Post: 10-25-2015, 04:03 PM
  5. Need a formula to extract names from a master list
    By Anies in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-12-2014, 02:24 PM
  6. [SOLVED] How to extract text from a list of names
    By busygurl in forum Excel General
    Replies: 3
    Last Post: 09-10-2013, 02:51 AM
  7. Extract client names from the list - vba
    By ebin charles in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 06-29-2011, 05:39 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