+ Reply to Thread
Results 1 to 3 of 3

Validation in cascade...

  1. #1
    Registered User
    Join Date
    04-16-2007
    Location
    Brussels, Belgium
    Posts
    9

    Validation in cascade...

    Hi guys,

    I'm trying to create a sheet where the user can make refined searches through validation.

    Using Data-Validation- Allow-List, i create a drop down list within a cell.

    Now this is the tricky part. Depending on the result of the cell, i'd like Excel to go to another set of fields and present me with another drop down list, and so on.

    Here is an example.

    I have a list of countries : US, UK, Australia,...
    If i select US in this drop down list, , then a new drop down list of cities corresponding to US should be displayed in the next cell.

    And so on, with streets,...

    Can someone help me with that ?

    Thanks a lot !

    Jehan

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Name each set of cities, streets, etc using the choices in the previous validation lists.

    Eg. If you have a choice of country, like Canada then the corresponding list of Canadian cities should be named "Canada"....do this by selecting the range and going to Insert|Name|Define and entering "Canada" as the Name.

    Then for the next validation list where you choose the cities, go to Data|Validation and choose Custom and enter =Indirect(A1) where A1 is the drop down list location for choosing the country...

    continue in this pattern.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    This link may help

    http://www.contextures.com/xlDataVal13.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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