+ Reply to Thread
Results 1 to 4 of 4

Dynamic Drop Down List based on a different cell value

  1. #1
    Registered User
    Join Date
    11-08-2024
    Location
    Dallas, Texas
    MS-Off Ver
    365
    Posts
    2

    Dynamic Drop Down List based on a different cell value

    Hello,
    I am try to create a drop down lists when a cell have been selected, it only shows the possible users in that specific account number

    *All the data in these sheet are made up, real data will consists of larger volume of data

    For example, in the main sheet first row, user column
    When selected, or when the dropdown is selected, it will only show the users in Account 101
    For example, in Account Number 101 , LogID 123, User column will show a dropdown list of Bob, Bill, Derrick (from the users worksheet)

    Sheet 1: Main
    | Account Number | LogID | User |
    |--------------------|-------|--------|
    | 101 | 123 | |
    | 102 | 124 | |
    | 103 | 125 | |
    | 102 | 126 | |
    | 102 | 127 | |
    | 103 | 128 | |
    | 102 | 129 | |
    | 103 | 130 | |
    | 101 | 131 | |

    Sheet 2: Users
    | Account Number | User Name |
    |----------------|-----------|
    | 101 | Bob |
    | 101 | Bill |
    | 102 | Joey |
    | 103 | John |
    | 101 | Derrick |
    | 102 | Shaun |
    | 103 | Levi |
    | 102 | Kevin |
    | 103 | Zach |
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,964

    Re: Dynamic Drop Down List based on a different cell value

    Hi and welcome

    If using VBA is an option for you then here's one method.

    The below code goes in the worksheet module for the "Main" sheet.
    Please Login or Register  to view this content.
    This will stamp the Account Number for the selected row to D1 on the "Users" sheet and the below formula in E1 will generate a list of User Names for that Account Number.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then the below formula in a named range which you can use for your data validation.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Give it a try in the attached where I've set all the above up.

    BSB
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-08-2024
    Location
    Dallas, Texas
    MS-Off Ver
    365
    Posts
    2

    Re: Dynamic Drop Down List based on a different cell value

    I was trying to avoid VBA so other users can edit it through the web version but this might be the only way, might just ask them to use the desktop version. I wish filter() worked with the data validation source but we can't have everything can we?

    Thank you for the help!

  4. #4
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,964

    Re: Dynamic Drop Down List based on a different cell value

    Another option would be to create lists for each of the Account Numbers and then use INDIRECT to dictate which list is used in a given row, but I was presuming your data would be somewhat dynamic and therefore that wouldn't be a viable option.

    It is indeed a shame that FILTER won't work in Data Validation. Perhaps drop Billy Gates a line and demand he gets it added :D

    BSB

+ 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. Dynamic drop down list based on selection in a cell
    By a94andwi in forum Excel General
    Replies: 2
    Last Post: 12-22-2021, 06:08 AM
  2. [SOLVED] VLOOKUP based on Dynamic drop down list
    By vegkol in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-08-2020, 07:41 AM
  3. Dynamic drop down list based on row criteria
    By amartin575 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2020, 11:19 AM
  4. Replies: 8
    Last Post: 11-05-2019, 06:58 AM
  5. Replies: 4
    Last Post: 01-16-2019, 10:20 AM
  6. Dynamic drop down list, based on a criteria
    By marcinpec in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-17-2014, 11:00 AM
  7. [SOLVED] Dynamic Ranges as drop down lists based on another drop down list
    By Excel_Beginner_1 in forum Excel General
    Replies: 4
    Last Post: 05-15-2012, 03:31 PM

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