+ Reply to Thread
Results 1 to 12 of 12

Dynamically Update a Drop Down List

  1. #1
    Registered User
    Join Date
    10-04-2017
    Location
    Santiago, Chile
    MS-Off Ver
    2016
    Posts
    11

    Dynamically Update a Drop Down List

    Hello, how do I do this with the list and the dropdown list located in different sheets?? Thank you

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Dynamically Update a Drop Down List

    Change your list to Excel Table (Insert - Table)

    edit: Ups, I overlooked - different

    but you can find much more here: http://www.contextures.com/xlDataVal05.html
    Last edited by sandy666; 10-04-2017 at 06:58 PM.

  3. #3
    Registered User
    Join Date
    10-04-2017
    Location
    Santiago, Chile
    MS-Off Ver
    2016
    Posts
    11

    Re: Dynamically Update a Drop Down List

    Quote Originally Posted by sandy666 View Post
    Change your list to Excel Table (Insert - Table)

    edit: Ups, I overlooked - different

    but you can find much more here: http://www.contextures.com/xlDataVal05.html
    Thank you, that is not what I'm trying to do though, when I place the table in a different sheet (not different workbook) it does not update the dropdown list

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Dynamically Update a Drop Down List

    Last edited by sandy666; 10-04-2017 at 07:18 PM.

  5. #5
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Dynamically Update a Drop Down List

    It would have helped if you had attached a sample spreadsheet.

    Then we could have done it for you.

    Now you have to do the hard work.

    Ok

    You need to create a dynamic range.

    You do that by creating a named range using one of the two formulas below

    a: List of numbers

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    b: List of words

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then when defining your data validation select use list and then use the name of your dynamic range

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by mehmetcik; 10-04-2017 at 07:26 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  6. #6
    Registered User
    Join Date
    10-04-2017
    Location
    Santiago, Chile
    MS-Off Ver
    2016
    Posts
    11

    Re: Dynamically Update a Drop Down List

    Quote Originally Posted by sandy666 View Post
    I am really grateful to you for trying to help me, I understand you can have a dropdown list and the table on a different sheet, I get that, but that way it does not work dynamically. My english is terrible so I'd try with an example

    table: sheet 1
    Consoles
    Nintendo switch
    PS4
    Xbox one X

    Dropdown list: sheet 2 ---} perfect!!

    Now; I forgot to include PS4 pro and Xbox One S, I go to table on sheet 1 and add them, then go to sheet 2 and notice the dropdown list does not show these last two.

    P.S: when the dropdown list and the table are on the same sheet it works!

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Dynamically Update a Drop Down List

    you can try with OFFSET with the Name
    http://www.contextures.com/xlNames01.html#Dynamic

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Dynamically Update a Drop Down List

    or
    Create List
    Insert Table
    don't remove selection but go to Formulas - Defined Names - Create from Selection - Top row (I assume your list has header)
    then go to tab where you want your DropDown, create DropDown - List - (F3) and select Name of your (just created) list

    if you want update your list (and drop down) simply type under table new item and table "grab" this item automatically then it will appear in your drop down

    don't use name of table, eg. Table1 and so on

    is that what you want?
    Attached Files Attached Files
    Last edited by sandy666; 10-04-2017 at 08:02 PM.

  9. #9
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,021

    Re: Dynamically Update a Drop Down List

    .

    Let's say your dynamic list is located in Col A (it can be any column).

    - Highlight the total rows in Col A you believe may be used.

    - Name that ..... MyList


    Go to data validation, choose list and type =MyList

    Now right click on the sheets tab and select view code and paste the following code:

    Please Login or Register  to view this content.
    This code will change the range of MyList whenever a change is made in column A.
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    10-04-2017
    Location
    Santiago, Chile
    MS-Off Ver
    2016
    Posts
    11

    Re: Dynamically Update a Drop Down List

    Quote Originally Posted by sandy666 View Post
    you can try with OFFSET with the Name
    http://www.contextures.com/xlNames01.html#Dynamic
    Thank you everyone, this method works, let me try with the others you guys suggested, thank you so much for your patience... really

  11. #11
    Registered User
    Join Date
    10-04-2017
    Location
    Santiago, Chile
    MS-Off Ver
    2016
    Posts
    11

    Re: Dynamically Update a Drop Down List

    Quote Originally Posted by sandy666 View Post
    or
    Create List
    Insert Table
    don't remove selection but go to Formulas - Defined Names - Create from Selection - Top row (I assume your list has header)
    then go to tab where you want your DropDown, create DropDown - List - (F3) and select Name of your (just created) list

    if you want update your list (and drop down) simply type under table new item and table "grab" this item automatically then it will appear in your drop down

    don't use name of table, eg. Table1 and so on

    is that what you want?
    Perfect, exactly what I meant, I don't really understand why "create from selection" makes the difference but it works

  12. #12
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Dynamically Update a Drop Down List

    Create from selection is easier (less clicks)

    If that takes care of your original question, & to say Thanks, please click on Add Reputtion (bottom left corner of the post of the person(s) who helped you)
    then select Thread Tools from the menu (top right corner of your thread) and mark this thread as SOLVED.
    If you did it - ignore it.
    Thank you.

+ 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. VBA to dynamically update list (remove duplicates) from multiple worksheets
    By pandora1a2b in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-18-2015, 11:21 AM
  2. Replies: 0
    Last Post: 04-24-2015, 02:27 PM
  3. [SOLVED] Update cell list based on Drop down List
    By eaflynn in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-24-2015, 03:48 PM
  4. Dynamically Update CountIf Formula Based On Nested List
    By SamuraiSam83 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-13-2015, 09:09 PM
  5. Replies: 0
    Last Post: 02-16-2013, 01:39 PM
  6. Creating a Non-contiguous list in a drop-dowm dynamically.!
    By all4excel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2008, 08:00 AM
  7. Dynamically Update List
    By Joe L in forum Excel General
    Replies: 1
    Last Post: 03-06-2006, 06:20 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