+ Reply to Thread
Results 1 to 7 of 7

Populate Dropdown selection options based on specific table value

  1. #1
    Registered User
    Join Date
    03-05-2020
    Location
    Ohio, USA
    MS-Off Ver
    2016
    Posts
    4

    Populate Dropdown selection options based on specific table value

    Hi I am new to excel formulas and am trying to figure out how to make it so that the data from one table will show in a dropdown selection menu but only the data that is filtered based on predetermined condition. For example: I have an employees table that lists name and department. I want the dropdown to only show the employee names from a specific department that is already predetermined and does not need to be typed in. This dropdown menu populates with names of all employees in the fabrication department for example.

    Thank you everyone!

  2. #2
    Banned User!
    Join Date
    02-26-2020
    Location
    US
    MS-Off Ver
    2010
    Posts
    157

    Re: Populate Dropdown selection options based on specific table value

    Hello,

    Without having your data I mocked up a worksheet. This was a 2 stage process. The first process was to filter the available names from the department selected using this formula:

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


    This is an array so press CTRL+SHIFT+ENTER to get the curly brackets and drag down your range.

    Then I created a named range called 'Names' and have this formula:

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


    In a cell for your data validation list enter this:

    =Names

    I hope this helps

  3. #3
    Registered User
    Join Date
    03-05-2020
    Location
    Ohio, USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Populate Dropdown selection options based on specific table value

    Thank you so much! This is perfect!!

  4. #4
    Banned User!
    Join Date
    02-26-2020
    Location
    US
    MS-Off Ver
    2010
    Posts
    157

    Re: Populate Dropdown selection options based on specific table value

    You're welcome!

    Please marked as solved.

  5. #5
    Registered User
    Join Date
    03-05-2020
    Location
    Ohio, USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Populate Dropdown selection options based on specific table value

    Actually one more question. I was wondering if there is a way to remove the blank entries from the drop down?

  6. #6
    Banned User!
    Join Date
    02-26-2020
    Location
    US
    MS-Off Ver
    2010
    Posts
    157

    Re: Populate Dropdown selection options based on specific table value

    Hi,

    Sorry about all of those blanks. Try this formula instead for the named range:

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


    This should be better but I can't figure out how to remove all blanks from the drop down. This will still have one blank at the bottom which is an improvement.

    Can you please mark this thread as solved? It is under the 'Thread Tools' option. It would be nice if you can add to my reputation too. I would appreciate it.

    Have a great day ahead!
    Last edited by RChad; 03-06-2020 at 07:14 AM.

  7. #7
    Registered User
    Join Date
    03-05-2020
    Location
    Ohio, USA
    MS-Off Ver
    2016
    Posts
    4

    Re: Populate Dropdown selection options based on specific table value

    Thank you! This is good

+ 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] Populate List based on Dropdown selection
    By PaterPen in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-02-2017, 03:04 PM
  2. Replies: 8
    Last Post: 05-24-2017, 06:35 AM
  3. [SOLVED] Populate column based on selection from a dropdown
    By dbwaste04 in forum Excel General
    Replies: 5
    Last Post: 11-01-2014, 04:23 PM
  4. [SOLVED] Auto populate adjacent cells based on specific dropdown selection
    By ahtigers10 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-02-2014, 08:11 PM
  5. Replies: 2
    Last Post: 10-07-2013, 11:06 AM
  6. Replies: 6
    Last Post: 05-31-2013, 11:17 AM
  7. Cull dropdown list options based on selection in another dropdown
    By Kiffar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-20-2012, 01:53 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