+ Reply to Thread
Results 1 to 9 of 9

Drop-down list

  1. #1
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Drop-down list

    I am using a drop-down list of roughly 400 employee names, entered alphabetically. Is there a way that if the user begins to type one of the names that is in the drop-down validation list, Excel can "auto-fill" the rest of the name? Or, is there a way to simplify the drop-down list so that the user is not necessarily having to scroll through the entire list of 400?

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Drop-down list

    You can achieve something similar to this by having the having the 400 names in a column and then hide the 400 rows. When a user starts to type in any row below this, the auto-complete kicks in as soon as there is an unambiguous match.

    A more sophisticated way of meeting your requirement is to create a user form with a combo-box and then use its change event to dynamically change the list of options. Please post back if you are unable to find something existing on this option.
    Martin

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Drop-down list

    an active x (or form) combobox will let you do as described
    whereby you type in first few letters of the name and it will go to that section

    For Active X set -
    listfilledrange as your list (employee)
    linked cell as your output cell

    you can change around the 2 match criteria (matchentry/matchrequired) if you want to control input/output a bit more
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Drop-down list

    The Active X portion of what you just described is foreign to me. I would attach a copy of the worksheet, but it is full of names already. Basically, I have a sheet that is a Master List with 400 employees. That sheet also calculates various pieces of info such as review dates and sick time accruals based upon date of hire. The intent is that I will have another sheet for the users who will be assigned 10-15 employees to supervise. So, they will choose their assigned employees, and all of the other related info will auto-populate. The problem is that I do not receive the information in alphabetical order but, rather, by date of hire. Compounding that is the issue that the list of employees is not complete. Other exisiting employees from other locations will, eventually, be added to the list...all with varying dates of hire. So, it is easiest to leave my master form in order by date of hire. As the list changes, I only need to replace the first 4 columns (name, ID number, date of hire, and location), and all of the other calculations will happen on their own.

    So after that long diatribe, the problem here is that the Data Validation I used for my drop-down presents the names in non-alphabetical order. Is there a way to validate the data so that they appear in alphabetical (without having to sort the Master Sheet)?

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Drop-down list

    this is rather different to your initial request

    To tackle the working of DV/combobox + non alphabetical list

    i have generated list of random names/ID numbers/Dates/locations (using online randomizer)
    essentially i have enlisted a helper column (Column F)

    DV is in H6
    Combobox is in h4

    you can sort by either column A/B/C/D and the DV/Combobox list will always be alphabetical order
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Drop-down list

    How did you generate the drop-down box with the scroll bar? I resolved my issue in a similar fashion, but my drop-down does not have the scroll bar which makes things more difficult to manage.

  7. #7
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Drop-down list

    Disregard. Mine does have a scrollbar.

  8. #8
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Drop-down list

    if this does suit your requirements and you want to learn more about activex combobox

    more can be found here
    http://blog.contextures.com/archives...cel-worksheet/

    also i didnt credit it before but i used this for the sorting and it explains why/how it works
    http://www.get-digital-help.com/2009...array-formula/

  9. #9
    Forum Contributor
    Join Date
    11-13-2013
    Location
    Florida
    MS-Off Ver
    Excel 2010
    Posts
    464

    Re: Drop-down list

    Thank you for the information.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to create a drop down list based on the choices of another drop down list?
    By Happy jain in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-27-2013, 01:54 AM
  2. Populate Drop-down list based on selection from previous drop-down list
    By Diventus in forum Excel - New Users/Basics
    Replies: 14
    Last Post: 01-11-2013, 10:55 AM
  3. Populate Drop-down list based on selection from previous drop-down list
    By poison_stone in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-11-2012, 06:10 PM
  4. Replies: 3
    Last Post: 04-16-2012, 10:14 PM
  5. Replies: 5
    Last Post: 10-27-2005, 01:55 PM

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