+ Reply to Thread
Results 1 to 6 of 6

Data validation does not work

  1. #1
    Forum Contributor michellepace's Avatar
    Join Date
    10-28-2015
    Location
    South Africa
    MS-Off Ver
    2013
    Posts
    132

    Question Data validation does not work

    Hello,

    I have used the below formula for each cell to Data Validation. Although the formula itself does behave as expected, Data Validation does not. Please see row 4 in the attached spreadsheet.

    Could anyone please tell me what I am doing wrong or if perhaps this is an excel bug?

    DataValidation_problem_screenshot.PNG
    Thanks in advance,
    Michelle
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-17-2005
    Location
    Canterbury, Kent
    MS-Off Ver
    2003, 2010
    Posts
    285

    Re: Data validation does not work

    It is returning false because of the last if statement.
    The validation only works if column D is less than column c

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data validation does not work

    In the Data Validation userform uncheck: Ignore blank
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Data validation does not work

    Hi
    You can not check the "ignore blank cells" because B5 and B6 are involved in the decision.
    Else, instead of using
    =IF(B3="x";IF(D3>C3,TRUE,FALSE);IF(D3<C3,TRUE, ALSE))

    use
    = IF(B3="x",D3>C3,D3<C3)
    Regards

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Data validation does not work

    Yes, I see what you mean.

  6. #6
    Forum Contributor michellepace's Avatar
    Join Date
    10-28-2015
    Location
    South Africa
    MS-Off Ver
    2013
    Posts
    132

    Re: Data validation does not work

    Thanks very much Tony and Jose. I was sure I found a but in excel

    And thanks Jose, that formula is beautifully simple

+ 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] making data validation work
    By mrl in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-20-2013, 03:43 PM
  2. [SOLVED] Data Validation does not work
    By jewellove in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-04-2013, 12:33 AM
  3. Data Validation Refusing to Work
    By excelDWS in forum Excel General
    Replies: 1
    Last Post: 01-10-2008, 12:34 AM
  4. Data validation won't work
    By rgarber1950 in forum Excel General
    Replies: 1
    Last Post: 11-05-2007, 10:40 PM
  5. Replies: 1
    Last Post: 07-31-2006, 04:13 PM
  6. Data Validation Error Does Not Work?
    By Alex Mackenzie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-06-2006, 10:40 AM

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