+ Reply to Thread
Results 1 to 6 of 6

Auto Complete on Variable Drop Down list

  1. #1
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42

    Auto Complete on Variable Drop Down list

    Hi,

    I use drop down lists regularly in my workbooks and found that as a user once you had become familiar with the list, could select the cell that contained the drop down list and start typing the first letters of one of the items in the list and Excel would (in grey) go to the first entry, offering a kind of auto complete. The user could then press enter and the selection would be made allowing the user two ways of obtaining the correct entry.

    For the first time today i have created a variable drop down list, a list that is created based upon the value entered in a different cell (Example workbook attached).

    Since creating this Excel is sporadic with either auto completing or throwing up the error message 'This value doesn't match the data validation restrictions defined for this cell.'

    My questions are: - Is there anything incorrect within my formulas that are causing this or is there something else i can do to stop the error message? and also, is there a way of refreshing the list when the variable is changed as at the moment you change the list variable but the entry from the previous selection remains?

    Thanks in advance for your time and help.
    Attached Files Attached Files
    Last edited by DvDj; 01-27-2020 at 06:33 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Auto Complete on Variable Drop Down list

    Administrative note
    Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile does not indicate your version.
    Thanks

  3. #3
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42

    Re: Auto Complete on Variable Drop Down list

    Thank you Pepe Le Mokko. i have now updated my profile.

  4. #4
    Forum Contributor
    Join Date
    03-18-2014
    Location
    Singapore
    MS-Off Ver
    Excel 2016 / 2019
    Posts
    251

    Re: Auto Complete on Variable Drop Down list

    I think it will be good that you explain your key output that you want to achieve using Data validation (Dropdown),
    from our spreadsheet I can't figure out what you want to achieve

    Best that give an input (can either key in or using drop down), and the result (report) that you want excel to display,
    including explaining you wanted a message (?)

    Rgds
    Christopher Yap

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Auto Complete on Variable Drop Down list

    A few things

    - You don't need separate lists for the data validation. Your table G11:I16 can suffice.
    - Ive defined two named ranges

    Team =Sheet1!$G$11:$I$11
    Selection =INDEX(Sheet1!$G$12:$I$16,,MATCH(Sheet1!$C$11,Sheet1!$G$11:$I$11,0))

    These are used in the respective drop-downs.

    Lastly, there is an worksheet change code which will celar the contents of Cell C16, whenever the value in C11 changes

    Please Login or Register  to view this content.
    I'm not sure about the auto-complete issue that you mention, but do note that your range needs to be contiguous (no intermittent blank cells) for the auto-complete prompt to kick in

    auto-complete-on-variable-drop-down-list-test.xlsm

    Does this help?
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  6. #6
    Registered User
    Join Date
    10-15-2008
    Location
    Surbiton
    MS-Off Ver
    Office 365 business
    Posts
    42

    Re: Auto Complete on Variable Drop Down list

    Hi Ace_XL,

    Thank you very much for your time and help regarding my issue, I have just learnt quite a lot from your response and now have a much better designed Variable Drop Down list

    I have not used VBA before so was a little worried about incorporating the code you suggested but it worked brilliantly and has highlighted an area of Excel that i need to get to grips with!!

    Again

    big thanks

+ 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. [SOLVED] Auto complete Entries With Drop Down List
    By getafixkwik in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 04-13-2022, 06:29 AM
  2. Auto Complete Drop Down List
    By santhire in forum Excel General
    Replies: 0
    Last Post: 03-29-2016, 01:59 AM
  3. Auto complete in LIST (drop down)
    By luvnet18 in forum Excel General
    Replies: 2
    Last Post: 07-12-2013, 08:23 AM
  4. Auto complete with drop down list
    By ade_tracy in forum Excel General
    Replies: 3
    Last Post: 07-12-2013, 06:12 AM
  5. auto complete from Drop down List
    By hel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-02-2010, 12:10 PM
  6. auto complete within a drop down list
    By gaelforce in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-09-2007, 07:10 PM
  7. Auto-complete an entry in drop-down list
    By Jason in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-23-2005, 07:05 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