+ Reply to Thread
Results 1 to 15 of 15

Searchable Drop down list

  1. #1
    Registered User
    Join Date
    04-14-2010
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    21

    Searchable Drop down list

    Hi guys,

    I have created a searchable drop down list after viewing this --> https://www.youtube.com/watch?v=vkPoViUhkxU

    The thing is how do I copy the drop down list to one whole column instead of just one cell?

    Attached is my file is where the drop down list will only works on B2 cell and when I copied it to B3 cell, the result will not be the same as B2. How do make B3 or more cells to work independently just like B2?how.xlsx

    Thanks in advance!!

  2. #2
    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,147

    Re: Searchable Drop down list

    Position cursor on bottom right corner of B" until you get the "+" (cross) , left click then drag down column

  3. #3
    Registered User
    Join Date
    04-14-2010
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    21

    Re: Searchable Drop down list

    Thanks for the reply. I have done that but it does not solve the problem...

    When I copy or duplicate B2 cell to other cells, it will not work as it should. Once I select eg. Salary on B2, all the other cells can only select Salary and nothing more.

    Looking at it again, I think it's because column D cells are with this formula =IF(ISNUMBER(SEARCH($B$2,E2)),MAX($D$1:D1)+1,0)

    Hence, may I ask how do I tweak the formula so that B2 cell can be replicate to work when copied to other cells?

    Thanks.

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Searchable Drop down list

    Copy B2 (Validated cell)
    Select the required range
    Paste special--> Validation-->OK

  5. #5
    Registered User
    Join Date
    04-14-2010
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    21

    Re: Searchable Drop down list

    Thanks for the reply...but that also doesn't work...

  6. #6
    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,147

    Re: Searchable Drop down list

    Yes the formula is the problem. Why are you restricting the DV list (variable length)?

  7. #7
    Registered User
    Join Date
    04-14-2010
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    21

    Re: Searchable Drop down list

    Hi John, I merely follow the instruction of the video. I supposed it's for the searchable drop down list to work? Thanks

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Searchable Drop down list

    Pl see file attached.
    New Range Name ValList_Ecolumn created.formula for data validation for [B2 is
    Please Login or Register  to view this content.
    Copy validation for other cells
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-14-2010
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    21

    Re: Searchable Drop down list

    Thanks kvsrinivasamurthy. But that would means the drop down list is no longer searchable...

    I actually have sometime similar but as you can see, the drop down list is rather long... So I thought of making the drop down list a little more dynamic which leads me to the Youtube video...

  10. #10
    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,147

    Re: Searchable Drop down list

    See the attached.

    This a macro attached to Sheet5 which records the address of the Active Cell in D1.

    The formula for the Validation_List now looks at the address in D1 and dynamically creates a list for whatever is entered in a DV in Column B.

    The drawback is you have to clear the B cell entry (Use Delete on keyboard) for the macro to determine the address.

    Please Login or Register  to view this content.

    in E2 and copy down

    =IF(ISNUMBER(SEARCH(INDIRECT($D$1),F2)),MAX($E$1:E1)+1,0)

    I also changed the DV

    =IF(B2=" ",Full_List,validation_list)

    "Full_List" is named range (E2;E68)

    You get the "Full_list" if the B cell is empty, otherwise you get the shortened "Validation_List"

    Hope this helps.
    Attached Files Attached Files
    Last edited by JohnTopley; 01-19-2016 at 04:28 PM.

  11. #11
    Registered User
    Join Date
    04-14-2010
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    21

    Re: Searchable Drop down list

    Thanks John. But may I ask have you attached the wrong file...?

  12. #12
    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,147

    Re: Searchable Drop down list

    Sorry ... correct one here!
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    04-14-2010
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    21

    Re: Searchable Drop down list

    Thank you so much John, it seems ok! Let me try it out further. Thanks!!

  14. #14
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,577

    Re: Searchable Drop down list

    Define the range ValList_Ecolumn as dynamic as below
    Please Login or Register  to view this content.

  15. #15
    Forum Contributor
    Join Date
    03-17-2005
    Location
    Canterbury, Kent
    MS-Off Ver
    2003, 2010
    Posts
    285

    Re: Searchable Drop down list

    The guy has done a follow up video that I think may help.

    https://www.youtube.com/watch?v=0QrQT9D25Xk

    Windy

+ 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. Searchable Drop Down List-Multiple Lines
    By simple? in forum Excel General
    Replies: 6
    Last Post: 10-13-2016, 06:07 AM
  2. Vlookup --- Searchable Drop Down Lists
    By viber52 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2015, 07:10 PM
  3. Searchable dependent drop-down list
    By banaanas in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-22-2015, 02:58 PM
  4. Searchable Drop down list
    By Jesscyca in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-21-2014, 11:03 AM
  5. Combo Box - Drop Down searchable drop down.
    By srini_tbcl in forum Excel General
    Replies: 0
    Last Post: 09-19-2014, 08:26 AM
  6. Open the Searchable Drop Down List on Enter
    By uberathlete in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2014, 05:36 PM
  7. Searchable drop down menu?
    By Christoffer_Col in forum Excel General
    Replies: 1
    Last Post: 03-05-2009, 05:04 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