+ Reply to Thread
Results 1 to 8 of 8

Dependent Data Validation List

  1. #1
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Dependent Data Validation List

    Hi all

    Need your help to create a dependent data validation list as below, such that only Suppliers corresponding to selected Company will be shown in Data Validation list:

    Dependent Data Validation List.png

    Thank you!
    Joseph
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Dependent Data Validation List

    Administrative Note:

    Members will tailor the solutions they offer to the version of Office (Excel) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: Dependent Data Validation List

    Hi Ali, MS Version H&B 2016 is correct. It's a Window.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Dependent Data Validation List

    One way!

    Use this to generate a sub list somewhere hidden:

    =IFERROR(INDEX(C:C,SMALL(IF(Table1[Company]=$F$3,ROW(Table1[Company])),ROWS($A$1:A1))),"")

    Then use a named range for the sub list (SubList), and then your DV drop-down list is =SubList.

    I'm not going to go into any more detail, as this has been covered hundereds of times here. Just search on the words you've used for your title and you will find many threads here (some appear listed at the foot of this thread).
    Attached Files Attached Files

  5. #5
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: Dependent Data Validation List

    Thank you Ali for the formula-based solution. Is it possible to do that in PQ?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Dependent Data Validation List

    Yes - you need to creae a parameter query:

    https://exceloffthegrid.com/power-qu...ng-parameters/

  7. #7
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,057

    Re: Dependent Data Validation List

    Thank you, Ali! The parameter did the trick! Here's a Rep for you.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Dependent Data Validation List

    Thank you. Please mark the thread as solved.

+ 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. Data validation list - restrict selection of 1 option in list (dependent)
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-06-2019, 07:17 AM
  2. Replies: 1
    Last Post: 01-14-2018, 11:04 AM
  3. Replies: 0
    Last Post: 04-24-2015, 02:27 PM
  4. Data validation - dependent list
    By hitarov in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-02-2013, 08:50 AM
  5. Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List
    By justforthis1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-26-2013, 12:24 PM
  6. Replies: 2
    Last Post: 07-17-2012, 01:18 PM
  7. Dependent List- Data Validation
    By Annie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-23-2005, 11:05 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