+ Reply to Thread
Results 1 to 6 of 6

Issues with applying IF function to Data Validation List

  1. #1
    Registered User
    Join Date
    08-01-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    31

    Issues with applying IF function to Data Validation List

    Hi all,

    This is an edited version of something posted few days ago, but as this still needs to be solved I decided to give it another go with a more detailed explanation and a new attachment.

    I'm having trouble applying an IF function to a Data Validation. Basically, I want a list under Column D to only become available if "Missed" is selected from the drop-down list in Column C.

    The attached document is a replica of the actual document I'm using. Unfortunately I cannot share the original one with you as it contains confidential information, however the structure, layout, formulae, and conditional formatting, are identical in both documents.

    As you will note, I have managed to successfully apply this approach to Column E, using the following formula: =IF($C8="Missed",Lists!$J$11:$J$13,"")

    However, when I try to apply a similar formula to Column D, =IF($C8="Missed",Lists!$H$2:$H$13,"")) I get the following message: "The list source must be a delimited list, or a reference to single row or column".

    Can anyone advise on what may be causing this and, more importantly, how to resolve it?

    Many thanks in advance!
    G

    p.s: very annoyingly, a colleague just pointed out that the formula actually does work in the Test version I have attached, but it does not work in the original document. That said, we have both gone over both documents over and over and can't identify anything that would explain why it works on one but not the other, as they are both identical in structure, layout, formulae, and conditional formatting.
    Attached Files Attached Files
    Last edited by g.costapinto; 10-17-2019 at 09:13 AM. Reason: Not Yet Solved

  2. #2
    Registered User
    Join Date
    07-28-2015
    Location
    Pruszków, Poland
    MS-Off Ver
    365 Business
    Posts
    58

    Re: Issues with applying IF function to Data Validation List

    I think you must have the same size for both reseults in If function. So try this formula:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-01-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    31

    Re: Issues with applying IF function to Data Validation List

    Hi, thanks for the response, but I'm not sure if that's the case, as you'll note from the attached document that the formula works fine.

    Thank you just the same though!

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,416

    Re: Issues with applying IF function to Data Validation List

    I can not tell you why data validation is accepting the IF based formula for E8 as I get the "The list source must be a delimited list, or a reference to single row or column" when I attempt to close it using OK.
    What I may be able to help with is to get a drop down in D8:
    1. Select List!H2:H13 and name that range MissedD
    2. Select Prog. Milestones D8 and use the following as the source for the data validation list: =INDIRECT(C8&"D")
    When either Done or On Track are selected in C8 the drop down will not open, or display a blank as I assume you want.
    When Missed is selected in C8 the drop down will display the dates from List!H2:H13
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    08-01-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    31

    Re: Issues with applying IF function to Data Validation List

    Jete, thank you so much, that worked!

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2504
    Posts
    19,416

    Re: Issues with applying IF function to Data Validation List

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Drop Down List Data Validation Issues
    By Ladyrave in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-10-2018, 09:38 AM
  2. [SOLVED] Applying Data Validation to Allow Only Formulas
    By loverfellow in forum Excel General
    Replies: 5
    Last Post: 12-03-2015, 12:32 AM
  3. Replies: 0
    Last Post: 11-20-2015, 12:34 PM
  4. DROPDOWN LIST ISSUES | filtered, sorting, data validation
    By rsbuslon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2014, 03:42 AM
  5. Data Validation List Issues/Sorting Issues
    By taylorbe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2014, 09:53 AM
  6. Simple Function to Test for Data Validation STRANGE ISSUES
    By yay_excel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-27-2014, 04:32 PM
  7. [SOLVED] Macro in Validation List - Code Issues
    By Pony08 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2013, 11:03 AM

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