+ Reply to Thread
Results 1 to 4 of 4

List unique values

  1. #1
    Registered User
    Join Date
    07-22-2009
    Location
    Canton, GA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Smile List unique values

    I have 254 rows of information. One column in the rows are the cities the address is located in.

    Starting in row 256 in the column with the cities I want to list all the unique cities.
    So Row 256 would say - Atlanta,
    257- Birmingham,etc, etc
    until all the unique cities are listed.

    Is there an easy way to do this?
    Attached Files Attached Files
    Last edited by Yamaha Rider; 04-20-2011 at 10:00 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,607

    Re: List unique values

    Here, try this:

    =LOOKUP(REPT("Z",255),CHOOSE({1,2},"",INDEX($A$2:$A$254,MATCH(TRUE,INDEX(ISNA(MATCH($A$2:$A$254, $A$255:$A255,0)),0),0))))

  3. #3
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: List unique values

    Not often I get to bting out this old favourite, the first proper array function I used and it needs entered with Ctrl + Shift + Enter

    I'm feeling quite nostalgic now
    Attached Files Attached Files
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  4. #4
    Registered User
    Join Date
    07-22-2009
    Location
    Canton, GA
    MS-Off Ver
    Excel 2007
    Posts
    21

    Smile Re: List unique values

    You Guys rock! Thank you.

+ 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