+ Reply to Thread
Results 1 to 4 of 4

Data validation C2+D2 = B2 error message

  1. #1
    Registered User
    Join Date
    06-28-2016
    Location
    X
    MS-Off Ver
    X
    Posts
    7

    Data validation C2+D2 = B2 error message

    Hi,

    Can someone help me with the following (don't know if it is possible):

    I have a simple table:

    A B C
    120 20 21

    Now if someone changes B or C I want them to get a warning (data validation) if B+C NOT EQUAL to A. However there is a but, I want that someone to be able to change both B and C before they get the warning. Is this possible?

    I tried a couple of things but couldn't get it to work.....

    Thanks in advance ,

    B

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: Data validation C2+D2 = B2 error message

    Hi,

    Will they always change C after changing B? If they can change C first and B second the problem gets a lot harder.
    See if this VBA does what you need.
    Event to see if A equals B plus C.xlsm
    Last edited by MarvinP; 06-29-2016 at 10:57 AM.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    06-28-2016
    Location
    X
    MS-Off Ver
    X
    Posts
    7

    Re: Data validation C2+D2 = B2 error message

    Guess that will be an instruction for the lads that have to work with it! Thanks I will try this later today

  4. #4
    Registered User
    Join Date
    06-28-2016
    Location
    X
    MS-Off Ver
    X
    Posts
    7

    Re: Data validation C2+D2 = B2 error message

    Awesome dude it worked. But now I also want it to be true for multiple rows. I tried to make a loop but that doesn't work.....

+ 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] Data Validation Error Message
    By Yoepy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-21-2015, 10:28 PM
  2. How to capture return value from data validation error message box
    By franklyn in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-13-2012, 01:57 PM
  3. Replies: 6
    Last Post: 04-09-2012, 02:26 PM
  4. Data Validation Error Message
    By Blake 7 in forum Excel General
    Replies: 11
    Last Post: 11-28-2010, 01:52 PM
  5. Text Length Data Validation, without error message.
    By mark in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-18-2006, 10:25 PM
  6. [SOLVED] Another Data Validation question:Error message
    By Jeff in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-14-2005, 02:05 PM
  7. Error Message with Data Validation
    By Chet Hurd in forum Excel General
    Replies: 2
    Last Post: 06-09-2005, 04:05 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