+ Reply to Thread
Results 1 to 2 of 2

Dependent dropdown validation - dependent data is string

  1. #1
    Registered User
    Join Date
    01-07-2014
    Location
    Bothell, Washington
    MS-Off Ver
    Excel 2010
    Posts
    8

    Dependent dropdown validation - dependent data is string

    Hello,

    I have created named tables, named ranges and set up data validaton.
    Table 1 has two columns (example data to illustrate)
    COLOR TextString
    Blue Blue is the color of the sky
    Blue Blue is the color of the ocean
    Red Stop signs are red
    Red Blood is red
    Yellow They call her mellow yellow

    Table 2 simply is a list of the COLORs (Blue, Red, Yellow)

    Is there syntax or a method that will display the TextString of the dependent dropdown for selection based on the color selected?
    If user selects "Red" from dropdown, then second dropdown displays as a list with two selections of "Stop signs are red" and "Blood is red".

    I am using OFFSET with MATCH functions. Appears to work with a single text entity.

    Thanks!

    Would this require VBA?

  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: Dependent dropdown validation - dependent data is string

    Try this...

    Data Range
    A
    B
    C
    D
    E
    1
    -----
    -----
    -----
    -----
    -----
    2
    Blue
    Blue is the color of the sky
    Red
    Stop signs are red
    3
    Blue
    Blue is the color of the ocean
    4
    Red
    Stop signs are red
    5
    Red
    Blood is red
    6
    Yellow
    They call her mellow yellow


    D2 = drop down with selections of Blue, Red and Yellow

    E2 = drop down based on D2. As the source for this drop down use:

    =OFFSET(B2,MATCH(D2,A2:A6,0)-1,,COUNTIF(A2:A6,D2))

    However, if you make a different selection in D2 the dependent cell will still be whatever was previously selected. A lot of folks overlook this behavior!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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 Dependent ActiveX Dropdown from Column Data
    By mani_bbc05 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-11-2013, 02:17 PM
  2. Dependent Data Validation
    By Tunneler in forum Excel General
    Replies: 2
    Last Post: 02-21-2012, 11:55 AM
  3. 4 way dependent dropdown/data validation
    By Cidona in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-19-2012, 06:58 AM
  4. Excel 2007 : Dependent Dropdown (Data Validation)
    By mtpr220 in forum Excel General
    Replies: 16
    Last Post: 08-10-2011, 12:58 PM
  5. save data to worksheet dependent on userform dropdown
    By mhill in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2009, 03:57 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