+ Reply to Thread
Results 1 to 17 of 17

Make drop down list bigger? AND Auto-predict in drop down list?

  1. #1
    Registered User
    Join Date
    07-13-2015
    Location
    United States
    MS-Off Ver
    2003
    Posts
    62

    Make drop down list bigger? AND Auto-predict in drop down list?

    I have a drop down list that I'd like to increase the vertical height of when I click on the cell, as it is a long list and it'd be easier to see more entries at a time.

    Also, I'd like to know if it's possible to write in the cell and have it auto-predict based on the drop down list it is pointing to, which sometimes would be easier than scrolling through the long list for the correct entry.

    Are these things possible?

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Hi,

    What kind of Dropdown list is it?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    See attached as example of "predictive" list
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    07-13-2015
    Location
    United States
    MS-Off Ver
    2003
    Posts
    62

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    JohnTripley, there was an error in that file. It is showing #NAME? in column G.
    Last edited by seanppp; 04-24-2018 at 03:34 AM.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    It works fine for me: This is a "standard" file I have so used "as-is"

    It may (does!) not work with your 2003 version as I received "warning" messages about compatibility when saving as Excel 97-2003 format.

  6. #6
    Registered User
    Join Date
    07-13-2015
    Location
    United States
    MS-Off Ver
    2003
    Posts
    62

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Quote Originally Posted by JohnTopley View Post
    It works fine for me: This is a "standard" file I have so used "as-is"

    It may (does!) not work with your 2003 version as I received "warning" messages about compatibility when saving as Excel 97-2003 format.
    Ah, then that's the problem. :-/ Is it difficult to set up the auto-predict from scratch?

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Try this in column G (replacing IFERROR)



    =IF(ISERROR(VLOOKUP(ROWS($G$2:G2),$E$2:$F$100,2,0)),"",VLOOKUP(ROWS($G$2:G2),$E$2:$F$100,2,0))

    copy down

  8. #8
    Registered User
    Join Date
    07-13-2015
    Location
    United States
    MS-Off Ver
    2003
    Posts
    62

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Quote Originally Posted by JohnTopley View Post
    Try this in column G (replacing IFERROR)



    =IF(ISERROR(VLOOKUP(ROWS($G$2:G2),$E$2:$F$100,2,0)),"",VLOOKUP(ROWS($G$2:G2),$E$2:$F$100,2,0))

    copy down
    Okay, I can see it now. But I'm not sure if this solves my problem. I'd like the cell, say cell A1, to either be able to pull up a drop down that I can click the correct value for (it is set up this way now), OR I can type in A1 and it will predict the rest, like Google does for instance.

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    In the file: if you start typing in C2 and click drop down you will get list starting with as many characters as you have typed;

    Type in "p" to get a list: type in "pe" to get a shorter list

  10. #10
    Registered User
    Join Date
    07-13-2015
    Location
    United States
    MS-Off Ver
    2003
    Posts
    62

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Quote Originally Posted by JohnTopley View Post
    In the file: if you start typing in C2 and click drop down you will get list starting with as many characters as you have typed;

    Type in "p" to get a list: type in "pe" to get a shorter list
    I see. That is really cool but what I am hoping for is that C2 would "suggest" the next alphabetically possible finish to what I type. Like Google does.

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    I think comparing this "look ahead" with the sophistication of "Google" is a step to far! Google has complex algorithms which it uses, far beyond the capabilities of Excel.

  12. #12
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Even excel 2003 can be more sophisticated than you expect John.
    _____
    maybe not perfect but it is close to what was asked

    This is one of the workbooks I have "on the schelf"

    The combobox will pop up when you click a cell in the target column.
    The combobox will scroll to available matches and autocomplete in the inputfield

    thru properties > listrow setting you can set how many options will be shown

    selected item in combobox will be writen to underlying cell
    Attached Files Attached Files

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,193

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    @Roel
    Not very different to the one I posted. Less sophisticated (!) than the one I posted, which limits the list to those "words" starting with the typed text.

    From the OP ...

    C2 would "suggest" the next alphabetically possible finish
    I suppose it depend how one interprets the "suggest" but Google appears to predict on your last few entries and/or frequency of use of a particular search string.

  14. #14
    Registered User
    Join Date
    07-13-2015
    Location
    United States
    MS-Off Ver
    2003
    Posts
    62

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Quote Originally Posted by Roel Jongman View Post
    Even excel 2003 can be more sophisticated than you expect John.
    _____
    maybe not perfect but it is close to what was asked

    This is one of the workbooks I have "on the schelf"

    The combobox will pop up when you click a cell in the target column.
    The combobox will scroll to available matches and autocomplete in the inputfield

    thru properties > listrow setting you can set how many options will be shown

    selected item in combobox will be writen to underlying cell
    This is exactly what I'm looking for! Two questions, how do I make my drop down lists do this? Also, Where is "properties listrow"? Thanks.

  15. #15
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    You will need to make a combobox in your sheet and make sure the name is Combobox1 or rename all Combobox1 references to the actual name of the box in the VBA code.

    All the VBA code you need is in CodeSheet of the worksheet (access thru ALT-F11 and double click "Blad1(Invoer)" to see the code
    The properties you set while the combobox1 is selected (right click for menu to select properties then find the option "listRows in the alfabetical properties list
    this the Microsoft support page to insert a combobox, make sure you insert the ActiveX version .
    if needed google for other helppages how to set the properties if above comments do not work for you

    It may take you a little trail and error to get it working but the code is not that diffucult.

  16. #16
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    do you mean smth like that
    Attached Images Attached Images
    Attached Files Attached Files

  17. #17
    Registered User
    Join Date
    07-13-2015
    Location
    United States
    MS-Off Ver
    2003
    Posts
    62

    Re: Make drop down list bigger? AND Auto-predict in drop down list?

    Quote Originally Posted by Roel Jongman View Post
    You will need to make a combobox in your sheet and make sure the name is Combobox1 or rename all Combobox1 references to the actual name of the box in the VBA code.

    All the VBA code you need is in CodeSheet of the worksheet (access thru ALT-F11 and double click "Blad1(Invoer)" to see the code
    The properties you set while the combobox1 is selected (right click for menu to select properties then find the option "listRows in the alfabetical properties list
    this the Microsoft support page to insert a combobox, make sure you insert the ActiveX version .
    if needed google for other helppages how to set the properties if above comments do not work for you

    It may take you a little trail and error to get it working but the code is not that diffucult.
    Hmm. I'm not seeing the Blad1(Invoer). I just see Sheet1 and ThisWorkbook. Both are empty. :-/

+ 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. Make same selection for multiple drop down list and clear all for all dropdown list
    By salomip13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2014, 01:34 PM
  2. Replies: 2
    Last Post: 03-27-2014, 06:10 PM
  3. 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
  4. 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
  5. Replies: 1
    Last Post: 07-28-2012, 08:03 AM
  6. make drop down box bigger
    By helpmex in forum Excel General
    Replies: 17
    Last Post: 11-07-2007, 02:42 PM
  7. can you make a drop down list in a drop down list?
    By Sburlingham in forum Excel General
    Replies: 6
    Last Post: 08-24-2005, 03: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