+ Reply to Thread
Results 1 to 5 of 5

Dependant List Problem

  1. #1
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Dependant List Problem

    I want to create a dependant list on E2 and F2 cells. I have problem with F2 cell. Why I couldn't do it?
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Dependant List Problem

    Your data validation list in F2 is simply the name that the user picked in E2. That won't do anything.

    This is the formula you want for F2 data validation list:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Dependant List Problem

    Here are two more methods.
    The first method converts the choice in the first drop down list to a "legal" name which has been previously defined by selecting each column and using Define from Selection.

    The second method uses a table. The first choices are the table headers and the second choices are the items under each table heading. This method allows you to add columns to the table and the drop down lists automatically include the new column.

    The table method involves creating names from the table and using an offset in the names so that offset isn't necessary in the Data Validation.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  4. #4
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928
    Understood. Now I tried creating names for columns but here on F2 I got a problem. Why?
    Attached Files Attached Files
    Last edited by zanshin777; 08-30-2015 at 01:03 PM.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Dependant List Problem

    You can't use E2 directly because defined names cannot have spaces. To use E2 that has spaces, you need to convert E2 to a "legal" defined name. You can do that with a table like this:

    K
    L
    2
    Hot Beverages Hot_Beverages
    3
    Cold Beverages Cold_Beverages
    4
    Drinks Drinks


    With this table you can then in Data Validation, use list, use this formula that pulls the correct defined name relating to the value in E2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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 ActiveX Combo Box list based on Data Validation List
    By spalmer28 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-12-2014, 07:57 AM
  2. [SOLVED] Problem With Drop Down Dependant Lists
    By john dalton in forum Excel General
    Replies: 6
    Last Post: 02-27-2014, 07:49 AM
  3. Filtering a List dependant on another list
    By moranphotography in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-22-2014, 08:29 AM
  4. Dependant List help
    By seanbradley in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-23-2013, 12:15 PM
  5. Replies: 1
    Last Post: 07-07-2009, 06:15 AM
  6. Dependant List
    By sglick in forum Excel General
    Replies: 3
    Last Post: 12-10-2008, 06:24 PM
  7. [SOLVED] Problem understanding dependant lookups
    By [email protected] in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-19-2006, 07:15 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