+ Reply to Thread
Results 1 to 4 of 4

Unique distinct alphabetically sorted list

  1. #1
    Registered User
    Join Date
    02-06-2011
    Location
    Tel aviv, Israel
    MS-Off Ver
    Excel 2013
    Posts
    59

    Unique distinct alphabetically sorted list

    Hello,

    I have a list I wish to sort by alphabetic order.
    I also have two criteria though;

    Attached is an example file...

    I have a list of countries in column A, and a list of sites in column B.
    I already made a unique list of countries (column D, in the example) out of the list in column A, and this list is a bridge-step so I can have the countries names as headlines (Row 1, column F-J) – if anyone can offer me a formula to have it directly to the headline spots (without using column D, that will be great as well) – as you can see I left additional 2 spots as headlines (in blue) for future update.

    In the yellow section I want to have the unique list of sites per country (alphabetically order), I managed to build a formula that returns every site within the specific country but with duplicated values (with Index formula), I can't find a way to have it as a unique list).

    Your assistance is much appreciate.

    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Unique distinct alphabetically sorted list

    hi atlant15, try these array formulas. in F1 to copy across:
    =IFERROR(INDEX($A$2:$A$25,MATCH(0,COUNTIF($E1:E1,$A$2:$A$25),0)),"")

    in F2 to copy below & across:
    =IFERROR(INDEX($B$2:$B$25,MATCH(0,IF($A$2:$A$25=F$1,COUNTIF(F$1:F1,$B$2:$B$25)),0)),"")

    Edit: Missed out the alphabetical portion.

    Addition: changed your formula in D2 to fit into F2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by benishiryo; 02-06-2013 at 09:56 AM. Reason: added file

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-06-2011
    Location
    Tel aviv, Israel
    MS-Off Ver
    Excel 2013
    Posts
    59

    Re: Unique distinct alphabetically sorted list

    Thank you,

    the additiojnal formula is a bit mixed up, can you take a look again please:
    it refers only to column A (The countries list) and genorates only list of countries.

  4. #4
    Registered User
    Join Date
    02-06-2011
    Location
    Tel aviv, Israel
    MS-Off Ver
    Excel 2013
    Posts
    59

    Re: Unique distinct alphabetically sorted list

    Great... I found what i did wrong...

    Thank you very much.

+ 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