+ Reply to Thread
Results 1 to 5 of 5

Data Validation Source=INDIRECT errors

  1. #1
    Registered User
    Join Date
    01-13-2020
    Location
    London, England
    MS-Off Ver
    Professional Plus
    Posts
    3

    Data Validation Source=INDIRECT errors

    Hi All,

    I have a template where I need one drop down list to inform multiple different dropdown lists. The first cell will select either "present" or "absent". There will then be multiple cells with different information in each. For example, present will inform the selections for extent (few occurrences or widespread) and also record quality (confirmed by survey, unconfirmed), and absent a different set of options per variable.

    To achieve this, I am employing a combination of INDIRECT and VLOOKUP in data validation, using this formula:

    =INDIRECT(VLOOKUP( J2, RecordQLookup, 2, FALSE))


    where J2 is the initial present/absent selection and RecordQLookup is a 2by2 named table with Present/Absent in one column and the names of the ranges containing the data for the drop down lists for that cell in the second

    This formula works within a cell but not in the source for data validation, returning the error message "there's a problem with this formula" (like a typo).

    If I place quotation marks around RecordQLookup, the formula is allowed, but returns a "the source currently evaluates to an error" message.

    It seems like data validation source has some trouble processing tables and lookup, I have tried googling but to no avail. Does anyone have any experience with this? Beginning to drive me a bit mad! Happy to provide a dummy example if need be


    Thanks in advance

    Kathryn
    Last edited by katywren; 01-14-2020 at 05:21 AM. Reason: solved

  2. #2
    Registered User
    Join Date
    01-13-2020
    Location
    London, England
    MS-Off Ver
    Professional Plus
    Posts
    3

    Re: Data Validation Source=INDIRECT errors

    See "dummy.xlsx" for reproducible example
    Attached Files Attached Files

  3. #3
    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 Source=INDIRECT errors

    You can use formula in a name and this name in the data validation. Bat why J2 or it is only example?

  4. #4
    Forum Contributor
    Join Date
    11-20-2007
    Location
    Felixstowe, England
    MS-Off Ver
    Excel 2013, 2019
    Posts
    217

    Re: Data Validation Source=INDIRECT errors

    Hi Katy, look at the attached ... it needed a couple of extra names, one of them holding the VLOOKUP.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-13-2020
    Location
    London, England
    MS-Off Ver
    Professional Plus
    Posts
    3

    Thumbs up Re: Data Validation Source=INDIRECT errors

    Hi Glenn,

    That's great, thanks! That works! You are a hero, it's been driving me mad for days. Is that because the Source doesn't like VLOOKUP?


    Supermanflying.png

+ 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. [SOLVED] IF function with INDIRECT reference for Data Validation source causing issue
    By FF6 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-25-2017, 12:41 PM
  2. Replies: 11
    Last Post: 03-31-2016, 03:40 PM
  3. Replies: 5
    Last Post: 07-29-2015, 08:36 AM
  4. Replies: 4
    Last Post: 12-17-2012, 03:01 PM
  5. data validation-Can the source of the validation criteria be dfrom a different sheet?
    By yael pinkert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2009, 04:28 AM
  6. Pivot Table Source Data Errors
    By maacmaac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-19-2008, 09:34 AM
  7. Indirect chart source data
    By jeaton in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-11-2006, 10:10 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