+ Reply to Thread
Results 1 to 4 of 4

Is there a way to consolidate names in a column without using PT or the Consolidate fctn?

  1. #1
    Registered User
    Join Date
    09-14-2018
    Location
    California
    MS-Off Ver
    Excel 2016
    Posts
    40

    Is there a way to consolidate names in a column without using PT or the Consolidate fctn?

    I'm looking for a formula that given Column A filled with names (a lot of them repeating) will return Column B as a list of names with no duplicates. For example:

    Column A

    John
    Juan
    Juan
    Jose
    Jose
    Jose
    Joseph
    Myra
    Myra
    Lina

    Will be:

    John
    Juan
    Jose
    Joseph
    Myra
    Lina



    I don't want to use Macro, PT, or the Consolidate function. I already know how to do it with those 3 options. I'm looking for a cell formula. Well, I don't know how to do it in Macro but that will be a future challenge. Thank you

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,679

    Re: Is there a way to consolidate names in a column without using PT or the Consolidate fc

    This method uses a helper column (e.g. column B, which could be hidden to maintain the look of your sheet).

    Assuming your names start in cell A2, put this formula in B2:

    =IF(COUNTIF(A$2:A2,A2)=1,MAX(B$1:B1)+1,"")

    Copy this down to the bottom of your data. Then put this formula in cell C2:

    =IFERROR(INDEX(A:A,MATCH(ROWS($1:1),B:B,0)),"")

    and copy this down until you start to get blanks.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-14-2018
    Location
    California
    MS-Off Ver
    Excel 2016
    Posts
    40

    Re: Is there a way to consolidate names in a column without using PT or the Consolidate fc

    Quote Originally Posted by Pete_UK View Post
    This method uses a helper column (e.g. column B, which could be hidden to maintain the look of your sheet).

    Assuming your names start in cell A2, put this formula in B2:

    =IF(COUNTIF(A$2:A2,A2)=1,MAX(B$1:B1)+1,"")

    Copy this down to the bottom of your data. Then put this formula in cell C2:

    =IFERROR(INDEX(A:A,MATCH(ROWS($1:1),B:B,0)),"")

    and copy this down until you start to get blanks.

    Hope this helps.

    Pete

    Thank you! This works perfectly!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,679

    Re: Is there a way to consolidate names in a column without using PT or the Consolidate fc

    Glad to hear it.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post and mark this thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ 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] VB Code to find Unique names and consolidate
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-19-2016, 06:05 PM
  2. How can I consolidate rows with same names but sum up only certain columns?
    By bottledwater in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-14-2016, 05:36 PM
  3. Help needed to consolidate & track a list of names!
    By NorthernRedwood in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2015, 06:11 AM
  4. Trying to consolidate a list of names to another worksheet
    By NorthernRedwood in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2015, 08:46 PM
  5. [SOLVED] Consolidate cells with multiple names into a single column with one name per cell
    By rbtx70 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-26-2013, 12:16 PM
  6. Consolidate multiple names/values in a range.
    By JapanDave in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2011, 04:41 AM
  7. Consolidate customer names and amounts
    By Helpmy in forum Excel General
    Replies: 2
    Last Post: 09-20-2011, 05:30 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