+ Reply to Thread
Results 1 to 6 of 6

Need to get a list of names from a collumn

  1. #1
    Forum Contributor
    Join Date
    06-25-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    201

    Need to get a list of names from a collumn

    Hi. I have a workbook with a collumn full of football championships. As you know there are hundreds of different championships names. And i have a collumn with all of them but some are repeated over and over because this collumn is connected with values of profit/loss in another collumn. For example: Blue Square North (Collumn A1) and in collumn B1 1.75; then Blue Square North (Collum A2) and 2.98 (Collumn B2), and over and over...

    So what i need is a formula that retrieves all unique and different names in a range collumn and the puts all the dfferent names in a new collumn (lets say C). Because what i intend to do then is to use vlookup to search for the championships one by one (through collumn C) and count the ones with profit and them loss by the name of each one.

    So what i need is a way to retrive a list of the unique names in A and get them in C.
    Is this possible?
    Thank you.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,455

    Re: Need to get a list of names from a collumn

    You can create a list of unique names by copying your list to col C than after selecting the column go to the Data ribbon - Remove Duplicates Tool

  3. #3
    Forum Contributor
    Join Date
    06-25-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    201

    Re: Need to get a list of names from a collumn

    Need to say to myself - daah lol
    Thank you for your reply. After i wrote the post i started to think... "what about remove the duplicates?" - then i realised the simple it was.
    Thank you

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need to get a list of names from a collumn

    Give a try to this.

    In C1, put this.

    =IF(A1="","",A1)

    In C2 and copy down, this one.

    =INDEX(A$1:A$1000,MATCH(1,INDEX((COUNTIF(C$1:C1,A$1:A$1000&"")=0)*(A$1:A$1000<>""),0),0))


    =IFERROR(INDEX(A$1:A$1000,MATCH(1,INDEX((COUNTIF(C$1:C1,A$1:A$1000&"")=0)*(A$1:A$1000<>""),0),0)),"")

    I think in Portugal you use Semi colons(like us in Greece) as separators in formulas. If so pls change ALL commas in my formula to semi colons.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    06-25-2012
    Location
    Porto, Portugal
    MS-Off Ver
    Excel 2010
    Posts
    201

    Re: Need to get a list of names from a collumn

    @Fotis1991

    Thank you fotis. i though about an index formula but didnt know how to built it. I'll try it too, but i think it might slowdown the workbook which is already heavy. But i'll try it anyway. Yeah in Portugal we use semicolons too. I'm already used to convert the formulas. Thank you anyway for the advice. Thank you also for your reply. Regards.

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Need to get a list of names from a collumn

    .............................

+ 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