+ Reply to Thread
Results 1 to 6 of 6

Multiple Data Validation Formula Problem

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    Colorado
    MS-Off Ver
    365
    Posts
    80

    Multiple Data Validation Formula Problem

    I have a Data Validation formula that limits the amount a user may enter (based on another cell). This formula works great, but I need to add another criteria to the formula and I keep getting an error no matter what I try.

    My current formula is "=sum(E12:K12)<=L7" (this formula limits the amount a user can enter if the sum is greater than the amount in "L7")....

    However, I need to also add to this ... "=and(I11=0)" (meaning, they can't enter a value at all if "I11" is a value other than zero - regardless of the above formula).

    Any suggestions as to how I might write this to make it work?

    Thanks so much!

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Multiple Data Validation Formula Problem

    Is this DV being applied to the range E12:K12, or to some other range/cell?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-16-2013
    Location
    Colorado
    MS-Off Ver
    365
    Posts
    80

    Re: Multiple Data Validation Formula Problem

    The DV is applied to the range E12:K12...so when a user attempts to enter data on cells E12, F12, G12, H12, I12, J12, or K12, the formula applies. Does this make sense?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Multiple Data Validation Formula Problem

    I used this as the DV rule and it seems to work...
    =AND($I$11=0,SUM($E$12:$K$12)<=$L$7)

  5. #5
    Registered User
    Join Date
    04-16-2013
    Location
    Colorado
    MS-Off Ver
    365
    Posts
    80

    Re: Multiple Data Validation Formula Problem

    Thank you FDibbins!!! So simple, but it was clearly escaping my feeble mind today!! Your solution worked perfectly - thank you so much!

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Multiple Data Validation Formula Problem

    You are welcome, thanks for the feedback

+ 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. Problem with Formula combined with data validation
    By taylorbe in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-14-2014, 09:02 AM
  2. Data validation list multiple options problem when entering none validated data
    By ThomasCarter in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-02-2012, 05:53 AM
  3. Problem with Formulas based on Data Validation Selection from multiple tabs
    By warrior2411 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-27-2012, 09:40 PM
  4. Problem with Formula based on Data Validation Selection from multiple tabs
    By warrior2411 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-13-2012, 05:32 PM
  5. Data Validation formula problem
    By rrucksdashel in forum Excel General
    Replies: 1
    Last Post: 09-29-2005, 01:05 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