+ Reply to Thread
Results 1 to 7 of 7

Data Validation - Excel Dependant List Doesn't Work

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

    Data Validation - Excel Dependant List Doesn't Work

    I created a dependant list on Exercises B2. However It doesn't work.

    How to fix it?

    The cells on the sheet Exercises refer to;

    C2 = Dependant List Row1

    B2
    = Dependant List The Data Below The Row1
    Attached Files Attached Files

  2. #2
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Data Validation - Excel Dependant List Doesn't Work

    You try to use option with named range. Every value from c2 must have the range named as this values. for example
    Intellectual - and range ='Dependant List'!$D$2:$D$4

    You can use =INDIRECT("Table2["&C2&"]") also but many blank rows will be in the list.

    The other solution is create dinamic range with OFFSET function that build range depend on C2 value.
    but in name
    Please Login or Register  to view this content.
    and this name to Data validation.
    Attached Files Attached Files
    Last edited by BMV; 05-16-2020 at 12:56 PM.

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

    Re: Data Validation - Excel Dependant List Doesn't Work

    I'm trying to understand the formula "_exercDD" you created on the name manager.



    1) I don't understand the reference you wrote in the first INDIRECT function at all. Could you explain it in details please?

    I mean Using of those characters confused me.

    1.1) " ?
    1.2) [ and ] ?
    1.3) [Category] ?
    1.4) & ?

    ("Table2["&Table3[Category]&"]")

    2) After 3 "," 's there is 4th argument of the OFFSET function. According to syntax it is [height]. Could you explain me what it does please?
    Last edited by zanshin777; 05-16-2020 at 12:18 PM.

  4. #4
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    MS365 V.2406
    Posts
    2,308

    Re: Data Validation - Excel Dependant List Doesn't Work

    See attached...
    Attached Files Attached Files

  5. #5
    Forum Expert BMV's Avatar
    Join Date
    01-13-2020
    Location
    St-Petersburg, Russia
    MS-Off Ver
    2013-2016
    Posts
    1,329

    Re: Data Validation - Excel Dependant List Doesn't Work

    Quote Originally Posted by zanshin777 View Post
    I'm trying to understand the formula "_exercDD" you created on the name manager.

    ("Table2["&Table3[Category]&"]")
    Surry i made mistake and corrected it. see prev. msg.

    Indirect function returns the reference specified by a text string, The text string is "Table2["&Table3[@Category]&"]"
    Table3[@Category] - the reference to cell in the same row where formula placed and to column named Category or column C in your case. It is regular smart table syntaxes
    if you evaluate it it is "Table2[Guitar]" as example and INDIRECT("Table2[Guitar]") is reverence to column Guitar of Table2.
    I change range by offset for only rows with value. COUNTA return this quantity.

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

    Re: Data Validation - Excel Dependant List Doesn't Work

    I understand what you did on the file v2.

    Thank you very much dangelor.

    I appreciate your help a lot.

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

    Re: Data Validation - Excel Dependant List Doesn't Work

    Thank you very much BMV. I'll check table syntaxes and return that formula again.

+ 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. Data validation doesn't work
    By SuuzyQ in forum Excel General
    Replies: 4
    Last Post: 04-14-2016, 08:18 AM
  2. [SOLVED] Dynamic range with indirect in data validation list doesn't work
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-30-2015, 07:38 AM
  3. Data Validation drop down list (Dependant
    By Willows59 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-11-2014, 06:38 AM
  4. 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
  5. Replies: 1
    Last Post: 03-01-2013, 06:59 PM
  6. Dependant Data Validation List
    By Stabilos in forum Excel General
    Replies: 1
    Last Post: 11-21-2005, 01:50 PM
  7. [SOLVED] Data Validation doesn't work on 1 sheet only
    By lunker55 in forum Excel General
    Replies: 4
    Last Post: 02-25-2005, 02:06 PM

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