+ Reply to Thread
Results 1 to 10 of 10

Excel IF-THEN Data Validation

  1. #1
    Registered User
    Join Date
    09-29-2014
    Location
    Berkeley, CA
    MS-Off Ver
    Mac 2011
    Posts
    5

    Excel IF-THEN Data Validation

    Hi there,

    I'm a beginner at this, so apologies in advance for incompetence. . .

    I have three columns, A, B, and C. Each column has over a thousand values of data manually inputted over time.

    Column A can be 0, 1, or 2.

    Columns B & C can have values of 99, 1, 2, or 3.

    If Column A is 0, BOTH columns B & C need to have values of 99.

    Step by step, how would I create a formula and use data validation to identify any spots in the data where A=0 but B&C are not 99.

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Excel IF-THEN Data Validation

    you haven't said what you want to do if it's true....this will return a TRUE or a FALSE...

    Please Login or Register  to view this content.
    OR

    Please Login or Register  to view this content.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    09-29-2014
    Location
    Berkeley, CA
    MS-Off Ver
    Mac 2011
    Posts
    5

    Re: Excel IF-THEN Data Validation

    Yeah-- sorry, I don't want to do anything if it's true.

    So I want to check the data so that if A= 0, B= 99, C=99-- nothing is marked. Also, I don't need to check any data where A= 1 or 2.

    But if A=0 and either B or C don't = 99, I want to circle the invalid data.

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Excel IF-THEN Data Validation

    how setting the row to some color using conditional formatting?....actually circling the data would probably require a VBA solution....

  5. #5
    Registered User
    Join Date
    09-29-2014
    Location
    Berkeley, CA
    MS-Off Ver
    Mac 2011
    Posts
    5

    Re: Excel IF-THEN Data Validation

    Okay, yeah that would work. I was trying to do this thru Data Validation which has been hella confusing, but if conditional formatting would work-- that's fine too.

    But if I'm correct, the above formula that you noted would mean that EVERY instance where A=0, B=99, C=99 isn't satisfied would be marked. And I want to exclude formatting of situations like A=1, B=2, C=3. I only want to catch situations like A=0, B=1, C=99.

  6. #6
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Excel IF-THEN Data Validation

    you can use this....sorry got a little confused

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-29-2014
    Location
    Berkeley, CA
    MS-Off Ver
    Mac 2011
    Posts
    5

    Re: Excel IF-THEN Data Validation

    Thank you--

    sorry, but to clarify, I'm really new at this-- where does that go? In formulas? Or should I be using data validation for that?

  8. #8
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Excel IF-THEN Data Validation

    i changed the formula to

    Please Login or Register  to view this content.
    I put this in the CF area for Column "D"...not knowing what your worksheet looks like, I hope this will work for you...please see the attached file...and check out the CF formulas...

    let me know if this works for you....
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    09-29-2014
    Location
    Berkeley, CA
    MS-Off Ver
    Mac 2011
    Posts
    5

    Re: Excel IF-THEN Data Validation

    Thank you!

  10. #10
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: Excel IF-THEN Data Validation

    glad I could help and thanks for the rep points....

    If this has been completed to your satisfaction, please set the thread to Solved...

+ 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. Data Validation not working,for excel validation Please Help!!!
    By angelmama in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-09-2014, 10:06 AM
  2. Replies: 3
    Last Post: 03-25-2014, 11:05 AM
  3. Replies: 4
    Last Post: 12-19-2013, 10:44 AM
  4. Replies: 2
    Last Post: 08-01-2013, 07:36 AM
  5. Using Defined Names with Data Validation Depend and Data Validation Multi Select
    By Vinnie Chan in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-01-2012, 05:36 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