+ Reply to Thread
Results 1 to 6 of 6

Dependant drop down list

  1. #1
    Registered User
    Join Date
    06-24-2016
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    24

    Dependant drop down list

    One one sheet, I have a list of products, e.g.
    Product 1
    Product 2
    Product 3

    Products 1 and 2 can use Part A, Part B, Part C, or Part D.
    Product 3 can only use Part XY.

    On another sheet I have one column with a drop down to select the Product.
    In another column, I want to select the Part used. So for Product 1 and 2 I want a drop down to only display Part A, Part B, Part C, Part D.
    If I select Product 3, I only want to be able to select Part XY (or have the cell auto-populate with Part XY).

    Cheers for any help.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Dependant drop down list

    Create a list like this...

    Product 1...Part A
    Product 1...Part B
    Product 1...Part C
    Product 1...Part D
    Product 2...Part A
    Product 2...Part B
    Product 2...Part C
    Product 2...Part D
    Product 3...Part XY

    Assume that list is in the range A1:B9.

    D1 = drop down list of products
    E1 = drop down list of parts

    As the source for the drop down list in E1 use this formula:

    =OFFSET(B1,MATCH(D1,A:A,0)-1,0,COUNTIF(A:A,D1))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    06-24-2016
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    24

    Re: Dependant drop down list

    Thanks, I'll give it a go.
    The only problem is, is that I have a list of hundreds of products, most of which can use one of ten different parts, and a few that can only use the XY part.
    Listing each product ten times for the ten parts could be cumbersome.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Dependant drop down list

    Quote Originally Posted by gjw1971 View Post
    Listing each product ten times for the ten parts could be cumbersome.
    See this...

    http://www.excelforum.com/excel-form...ecutively.html

  5. #5
    Registered User
    Join Date
    06-24-2016
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    24

    Re: Dependant drop down list

    Thanks for your help.
    In the end, I went a different way by using a helper column and dependant drop down lists.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Dependant drop down list

    You're welcome. Thanks for the feedback!

+ 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. Dependant drop list
    By csoup36 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-28-2016, 08:04 PM
  2. [SOLVED] Drop down lists dependant on previous drop down list
    By alexander.small in forum Excel General
    Replies: 6
    Last Post: 05-21-2014, 05:21 AM
  3. dependant drop down list from 2 cells
    By zacmac in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-24-2014, 06:39 AM
  4. Drop down list dependant on IF function
    By Julian Philips in forum Excel General
    Replies: 1
    Last Post: 03-18-2013, 09:11 AM
  5. Dynamic Dependant Drop-Down List
    By GonzoSS in forum Excel General
    Replies: 4
    Last Post: 05-16-2012, 04:26 PM
  6. Drop Down List dependant on 2 parameters
    By BlueGunner in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-21-2010, 11:18 PM
  7. Replies: 12
    Last Post: 12-09-2009, 04:19 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