+ Reply to Thread
Results 1 to 7 of 7

Dependent validation - lists and lookup combo

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    24

    Dependent validation - lists and lookup combo

    Hello,

    Fairly new to the forum so apologies if I haven't formatted my question correctly.

    I'd be grateful for help with this:

    I have a named range "option_carea"
    Its validation is set from a list in another range called "carea"
    It has 3 options:
    Any
    East
    West

    Next door is "option_cf_team"
    If "option_carea" is "Any", I want "option_cf_team"'s validation to come from "cf_teams"
    If "option_carea" is "East", I want "option_cf_team"'s validation to come from "cf_teams_east"
    If "option_carea" is "West", I want "option_cf_team"'s validation to come from "cf_teams_west"

    Next door named "option_woe"
    If "option_carea" is "Any", and "option_cf_team" is "Any", I want "option_woe"'s validation to come from "cf_woes"
    If "option_carea" is "East", and "option_cf_team" is "Any", I want "option_woe"'s validation to come from "cf_woes_east"
    If "option_carea" is "West", and "option_cf_team" is "Any", I want "option_woe"'s validation to come from "cf_woes_west"

    (I'm ok this far using Data->validation-> allow list with forumlae in the box.

    But if "option_cf_team" is set to anything other than "Any", I want the validation of "option_woe" to come from the lookup table "team_woe_lookup"

    I can't seem to find a way to use both lists and lookups, and I'm going round in circles.

    Thanks,

    HE
    Attached Files Attached Files
    Last edited by headexperiment; 06-14-2011 at 05:03 AM.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Dependent validation - lists and lookup combo

    hi, headexperiment, hope this helps
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-13-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Dependent validation - lists and lookup combo

    Hi Watersev,

    Thanks for looking at it for me - much appreciated. It doesn't seem to have worked..?

    Populating Option_Carea and/or option_cf_team seems to prevent the drop-down in from working. Am i doing something wrong?

    Thanks,

    HE.

  4. #4
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Dependent validation - lists and lookup combo

    hi, as far as I understood your question:

    If "option_carea" is "Any", I want "option_cf_team"'s validation to come from "cf_teams"
    If "option_carea" is "East", I want "option_cf_team"'s validation to come from "cf_teams_east"
    If "option_carea" is "West", I want "option_cf_team"'s validation to come from "cf_teams_west"

    Next door named "option_woe"
    If "option_carea" is "Any", and "option_cf_team" is "Any", I want "option_woe"'s validation to come from "cf_woes"
    If "option_carea" is "East", and "option_cf_team" is "Any", I want "option_woe"'s validation to come from "cf_woes_east"
    If "option_carea" is "West", and "option_cf_team" is "Any", I want "option_woe"'s validation to come from "cf_woes_west"

    as far as I can see it works. So if Any is selected in option_cf_team then option_woe come from woes depending on option_carea. What exactly does not work?

  5. #5
    Registered User
    Join Date
    06-13-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Dependent validation - lists and lookup combo

    Thanks watersev. It works, partly

    But if, for example, I set option_carea to "West" and option cf_team to "Avon", the dropdown on option_woe freezes, when it should offer only "Sam".

    ??

  6. #6
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Dependent validation - lists and lookup combo

    hi, I beg your pardon I did not read to the end, this should address that.

    As pardon me-gesture I've added clearing of option_cf_team and option_cf_woe when Option_Carea is changed.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-13-2011
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Dependent validation - lists and lookup combo

    Perfect. Does the job exactly.

    Better go off and do my homework on:
    Please Login or Register  to view this content.
    And:

    Please Login or Register  to view this content.
    Many thanks. HE.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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