+ Reply to Thread
Results 1 to 3 of 3

Auto Complete Data Validation

  1. #1
    Registered User
    Join Date
    04-13-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2003
    Posts
    29

    Auto Complete Data Validation

    Dear all,

    I'll refer to a previously solved post that I'd rather not hijack - specifically the solution from HSV.

    http://www.excelforum.com/excel-gene...tion-list.html

    Solution is: http://www.excelforum.com/attachment...-sample-1-.xls

    In a small sample number of names like in this example it works fine. I was trying to adapt the file to extend the number of names on Sheet2 to several hundred. Something goes wrong in the validation and/or defined names and the clever autocomplete boxes don't seem to work properly. The validation suggests the first appropriate value - which still might not be the one you're looking for - and then a lot of the irrelevant values follow. This is ok if the first name is the one you want, but you can't expect 2 appropriate suggestions. Can someone explain how the named ranges in this example work, and whether or not it's possible to make this work with a lot of names without the system collapsing?

    The autocomplete function doesn't seem necessary if the list remains brief.

    Muchos gracias.
    Last edited by Homeslice01; 02-25-2014 at 01:27 AM.

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

    Re: Auto Complete Data Validation

    two things to check

    is your list in alphabetical order?

    also you need to extend the Named range "names"
    =INDIRECT("sheet2!$A$2:$A$"&COUNTA(Sheet2!$A$2:$A$105)+1)
    only goes up to 105 in the example
    extend this range and it should work
    Last edited by humdingaling; 02-25-2014 at 01:13 AM.
    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.

  3. #3
    Registered User
    Join Date
    04-13-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Auto Complete Data Validation

    Thanks Humdinaling,

    My data was in alphabetical order but by surname. When I resorted the data it worked a treat.

    Many 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 Data Validation List
    By joebell in forum Excel General
    Replies: 4
    Last Post: 07-24-2014, 12:34 AM
  2. Auto Complete with Data Validation? [Need Help!]
    By xadieu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2013, 02:44 PM
  3. Data validation auto complete
    By ictodd in forum Excel General
    Replies: 4
    Last Post: 08-18-2011, 05:28 AM
  4. data validation auto complete
    By metaphysic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-03-2010, 02:51 PM
  5. Auto complete for data validation list
    By KevinThomas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2010, 10:44 AM

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