+ Reply to Thread
Results 1 to 39 of 39

Auto Complete data validation list

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Auto Complete data validation list

    Hello everybody
    I need the validation list to be flexible when typing any part of the text . To enable the auto complete feature ..
    I found a formula that do that for the first letters only ..
    What I want: to be able to type any part of the text and to find quickly the option from the list
    I hope it is clear

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Auto Complete data validation list

    What's the formula and how would you use it?

  3. #3
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    The formula is
    Please Login or Register  to view this content.
    Where MyList is the list on names and C10 is the cell which contains the validation List

  4. #4
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto Complete data validation list

    Hello YasserKhalil,

    If I understand your request correctly, I don't think it is possible to do what you want, without maybe quite a bit of vba.

    Regards.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  5. #5
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Auto Complete data validation list

    Check this one.. perfect combination of VBA & Formula..

    https://dl.dropboxusercontent.com/u/...%20Google.xlsm

    Search Combo like Google.xlsm
    Last edited by Debraj Roy; 12-13-2014 at 01:53 PM.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  6. #6
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto Complete data validation list

    @ Debraj Roy,

    I would love to see that, but the link you have provided, does not seem to work on my side.

  7. #7
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Auto Complete data validation list

    In hurry.. i pasted External link..

    Now in forum too..

  8. #8
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    Hello Mr. Debraj Roy
    Really fantastic workbook
    This what I want exactly
    But how can I do that for Validation list ?
    I attach the file again and I added a sheet named (Sample) in range(A1:A10) I did make a validation list .. I want when typing make use of auto complete feature of the comboBox in the file..
    I don't know how to do that
    Attached Files Attached Files

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto Complete data validation list

    @ Debraj Roy,

    Yes, that is quite something, thank you for sharing!

    Regards.

  10. #10
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto Complete data validation list

    Hi YasserKhalil,

    Just see the ComboBox as your "Dropdown", and whatever you click on in the ComboBox will appear in Cell C2, to replicate what you would want the "Dropdown" to finally display.

    Regards.

  11. #11
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    Thanks sir
    But I want to apply that for a range("A1:A50") for example and in the sample it is just related to C2 ..Just one cell not a range

  12. #12
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Auto Complete data validation list

    Hi YasserKhalil,

    Please upload a sample Workbook with how you have things set up, and I shall see if I can help in making it easier for you.

  13. #13
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    See post #8 Mr. Winon
    I added a sheet named Sample and I want to apply auto complete feature to the range("A1:A10")
    Thanks advanced

  14. #14
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    I want to apply auto complete feature to the range("A1:A10")
    Is it possible or not to combine the combobox to my range?

  15. #15
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Auto Complete data validation list

    Autocomplete does not work for data validation dropdown, only for comboboxes.

  16. #16
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    I know that Mr. davesexcel
    I want to make use of this feature of combobox and combine it to validation list if poosible..
    Any idea about that?

  17. #17
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    Any idea about this? Will I stop thinking about it?

  18. #18
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Auto Complete data validation list

    Just an Idea..

    On Worksheet_SelectionChange Event, place a Dynamic ActiveX ComboBox on the cell, with same Height and width of the target cell.
    Place code to check > Dropdown and Validation on the same, and on click, remove the Dynamic ActiveX ComboBox and place the item on the target cell..

    However.. in Weekdays.. I will not able to work on this.. Thread is open for suggestion / improvement..
    If you will not got any answer than, I will look into this on weekend..

  19. #19
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    Thanks for the idea..
    I will wait for your idea .. till the end of the month not only the week..
    I'm so patient to reach my goal

  20. #20
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Complete data validation list

    Hi YasserKhalil

    Well, I've been playing with this for too long. It's your turn.

    As I understand it, you wish to marry the Formulas in Search Combo to Sample Cells A1 to A10.

    I have no idea how you'll apply this in real life. See if the Code in the attached does as you require.
    Last edited by jaslake; 12-20-2014 at 11:13 AM.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  21. #21
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    I really don't understand .. how can I use the file .. In range("A1:A10") there is no validation list

  22. #22
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Complete data validation list

    Hi YasserKhalil

    In your Post #1 you stated this
    I need the validation list to be flexible when typing any part of the text . To enable the auto complete feature ..
    ....
    What I want: to be able to type any part of the text and to find quickly the option from the list
    Did you try that with the Sample Workbook? Type any part of the Text...the Code creates the List...try it, see what happens.

    Edit: For example...type ap in A1.
    Last edited by jaslake; 12-19-2014 at 07:05 PM.

  23. #23
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Complete data validation list

    Hi John,

    I downloaded your sample sheet and typed ap in A1 and nothing happened?
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  24. #24
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: Auto Complete data validation list

    I opened John's sample=>cleared column A, then Double Clicked in the specific range, typed in letters and it autofilled.

  25. #25
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Complete data validation list

    Hi Dave,

    I followed your directions and nothing happened

  26. #26
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Complete data validation list

    Hi XLAdept

    Type ap in Sample Sheet A1 then hit the TAB Key (Enter Key is squirrely)

    It'll bring up this
    1.jpg

    Click on the Drop Down Arrow...it'll bring up this
    2.jpg
    Select an Item from the list then Tab or Enter out.

  27. #27
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Complete data validation list

    Hi Dave

    One does not need to double click...the Code does that. See my Post #26.

    Thanks for the Feedback. This whole thread is a bit mind bending.

  28. #28
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Complete data validation list

    Hi John,

    The dropdown didn't manifest

  29. #29
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Complete data validation list

    Hi XLAdept

    This is what I do:

    Either Download or simply Open the File Sample Auto Complete (version 3.3).xlsm

    Enable Macros (of course)

    Click on Sample Sheet Cell A1; type in ap

    TAB out of the Cell

    You'll be presented with a ComboBox with a Dropdown Arrow; click on the Arrow

    Select an Item, press the TAB Key or Enter Key

    The Cell assumes the Value of the Selected Item.

    This is how it performs on MY platform...please don't tell me I'm nuts...it's been a bit of a struggle to get from there to here.

  30. #30
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Complete data validation list

    Hi John,

    Still no drop down - maybe I'm nuts - I even restarted Excel

  31. #31
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Complete data validation list

    Hi XLAdept

    No clue...we'll see if the OP can make it work. I've spent entirely too much time on this Thread. If the OP can't make it work I'm at a loss as to what to do next.

  32. #32
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Auto Complete data validation list

    Hi XLAdept

    If you'll humor me, I'd appreciate if you'd try this File. The Code messes with the Enter Key. I've modified the WorkBook Open and Workbook Before Close Code such that the Mods are reset.

    Thanks.
    Last edited by jaslake; 12-20-2014 at 11:12 AM.

  33. #33
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Auto Complete data validation list

    @ Jaslake -

    I've logged off of my machine that has the 2010 on it - so, Hasta Manana

  34. #34
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    It's the same problem as Mr. xladept
    Hope it works .. I tried all your instructions in previous posts but no results ..

  35. #35
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Auto Complete data validation list

    Hi Yasser,

    This is my try in attached file, please look at it.

    Regards
    1. I care dog
    2. I am a loop maniac
    3. Forum rules link : Click here
    3.33. Don't forget to mark the thread as solved, this is important

  36. #36
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    Wonderful Mr. karedog
    very fantastic ...
    Thanks a lot for this gift
    Just a little point how can I clearcontents of any of these cells?

  37. #37
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Auto Complete data validation list

    You are welcome.

    If the range to cleared is a single cell, just press escape key and press del key.
    If more than one cell, the Excel Design Mode must be turned on first, clear the range, and then re-turn off the Design Mode, or you can write a very simple macro to do this like this one :

    Please Login or Register  to view this content.
    Regards

  38. #38
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Auto Complete data validation list

    Thanks for every bit of information I learned from you

  39. #39
    Forum Guru karedog's Avatar
    Join Date
    10-03-2014
    Location
    Indonesia
    MS-Off Ver
    2003
    Posts
    2,971

    Re: Auto Complete data validation list

    You are welcome, it's my pleasure to help such a nice and friendly person like you.

    Regards

+ 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. Replies: 1
    Last Post: 01-16-2014, 10:32 AM
  3. Data Validation / Drop-Down List Auto Complete
    By Jagstrom in forum Excel General
    Replies: 2
    Last Post: 12-30-2010, 06:56 PM
  4. Auto complete for data validation list
    By KevinThomas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-26-2010, 10:44 AM
  5. Auto complete in a validation list
    By Soni in forum Excel General
    Replies: 1
    Last Post: 04-17-2006, 12:25 AM

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