+ Reply to Thread
Results 1 to 4 of 4

dynamic and dependent data validation ranges

  1. #1
    Registered User
    Join Date
    11-20-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    5

    dynamic and dependent data validation ranges

    Rebuild Char Sheet.xlsx

    Hello everyone, I'm using excel to create a homebrew tabletop RPG, and I'm running into some trouble.

    I have a cell on my main sheet A19 that has the text Sorcerer_Skills (which is variable based on character class). I have a Range named Sorcerer_Skills under Name Manager with the reference "=OFFSET('Master Skill Sheet'!$H$49,,,COUNTIF('Master Skill Sheet'!$H$49:$H$56,"?*"))". I want another range of cells to have that list Sorcerer_Skills, so I use "=indirect('Main Sheet'!A19)" in the Data Validation menu with list selected.

    However, I can't get the indirect function to play nicely with my offset function dynamic lists.
    Last edited by AColonyOfAnts; 11-20-2014 at 11:26 PM.

  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: dynamic and dependent data validation ranges

    I didn't look at your file.

    Try something like this.

    Enter the named ranges in a range of cells, for example, A1:A3.

    A1 = Range1
    A2 = Range2
    A3 = Range3

    Then, as the source for your dropdown list use:

    =CHOOSE(MATCH(A19,A1:A3,0),Range1,Range2,Range3)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    11-20-2014
    Location
    California
    MS-Off Ver
    2010
    Posts
    5

    Re: dynamic and dependent data validation ranges

    Thanks, it worked. So the problem was indeed that =indirect(...) interacted poorly with the =offset(...).

  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: dynamic and dependent data validation ranges

    Quote Originally Posted by AColonyOfAnts View Post
    Thanks, it worked.
    Good deal! Thanks for the feedback!

    So the problem was indeed that =indirect(...) interacted poorly with the =offset(...).
    Yes

+ 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. Dependent List Validation from Dynamic Named Ranges
    By freeride in forum Excel General
    Replies: 11
    Last Post: 01-22-2020, 03:07 PM
  2. [SOLVED] Dependent data validation with dynamic named ranges
    By Ace_XL in forum Excel General
    Replies: 4
    Last Post: 08-07-2014, 10:02 AM
  3. [SOLVED] Dynamic dependent data validation lists
    By gak67 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-20-2014, 06:21 PM
  4. [SOLVED] Dynamic dependent data validation list
    By Masun in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-03-2014, 10:34 AM
  5. Data Validation and Dynamic Named Ranges
    By freybe06 in forum Excel General
    Replies: 15
    Last Post: 07-20-2011, 01:18 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