+ Reply to Thread
Results 1 to 4 of 4

Excel Formula to Alphabetize Unique items only from a list

  1. #1
    Registered User
    Join Date
    09-06-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Excel Formula to Alphabetize Unique items only from a list

    Hello,

    I am looking for a formula that will enable me to create an alphabetized drop-down (validation) menu of unique values only. In essence, if my list looks like this:

    Car Fund
    House Fund
    House Fund
    Work Fund
    Recreation Fund
    Car Fund
    Work Fund

    I want to create a drop-down menu that displays:

    Car Fund
    House Fund
    Recreation Fund
    Work Fund

    Also, I would like to NOT include any "blanks" in the drop-down menu. Can anyone let me know if this is possible to do in Excel 2003? Thanks so much.

    -Broshannon

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Excel Formula to Alphabetize Unique items only from a list

    Hi Broshannon

    Welcome to the forum.

    Where is your source data for this list?

    Can't you just create a separate list with unique values based on your source data and use that for your validation list?

    This link might help
    http://office.microsoft.com/en-us/ex...001034626.aspx

    If not please post a sample workbook (sensitive data removed/disguised) illustrating your problem.

    Cheers

  3. #3
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Excel Formula to Alphabetize Unique items only from a list

    broshannon,

    what you describe will most likely require VBA. In this article http://www.contextures.com/excel-dat...ation-add.html you can probably find some pointers to get you on the right track.

    If you find that this is beyond your current level of Excel expertise, you can come back here for assistance, but be advised that unless you truly understand how a solution works, you will not be able to adjust it if your requirements or parameters change.

    cheers,

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Excel Formula to Alphabetize Unique items only from a list

    Depending on how you want to pursue this then another route would be to use some basic helper cells rather than VBA - see attached.

    How practical / scalable a formula driven approach is rather depends on volume of data in the original duplicate list.

    If the process is a one off exercise and source list does not change then using an intermediate Filter step makes sense

    edit:

    in retrospect - in the attachment - would be better to add a pre-emptive IF to the formulae in Column C

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by DonkeyOte; 09-06-2010 at 08:23 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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