Consulting

Results 1 to 4 of 4

Thread: Unique Entries to be dispalyed in drop down list as per renge given in data sheet

  1. #1

    Unique Entries to be dispalyed in drop down list as per renge given in data sheet

    Hello Sir,

    I am stuck with a problem with the list function with validation properties. I have applied list command in cell "A2" but it is showing duplicate records also, I wish if the dropdown list menu could display the unique entries only. And in alphbetical order. Is it possible with the help of VBA, if yes Knidly help me out. An urgent reply will be extremely appreciated.

    I have enclosed the sample file for better explanation.

    Please Help!!!!!!!!!

  2. #2
    VBAX Regular
    Joined
    Nov 2005
    Posts
    82
    Location
    Hi

    You don't need VB to solve this. I can suggest two options, first create new list as List1 after copying original list to new column and the just delete each duplicate so you have a unique list for your dropdown. Second option is that you combine col A & col B so that you have item and size on one line as a single product, i.e. Crackfill 500g, Crackfill 1kg etc as one dropdown list.

    Cheers

    Amanda

  3. #3
    Moderator VBAX Master geekgirlau's Avatar
    Joined
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,464
    Location
    While you can easily delete the duplicates in your sample, where there's a lot of data you are better off using the Advanced Filter. Copy the Product Name column to a new column, sort it, then use Data | Filter | Advanced Filter | Unique records only (you will probably also want to copy this to a new location).

  4. #4
    Thanks for your so fast reply Amanda,
    ya the options you have suggested are good but don't you think that is a lengthy procedure. and we have sort them in alphbetical order everytime. of using the template.

    I am agree this will work with the CONCATENATE function also, but can it be done with the help of VBA script and what about its alphabetical sequence of dropdown list.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •