+ Reply to Thread
Results 1 to 5 of 5

Multiple validations

  1. #1
    Registered User
    Join Date
    08-06-2012
    Location
    Columbia, MO
    MS-Off Ver
    Excel 2010
    Posts
    2

    Multiple validations

    I need to cross validate two cells, E must be blank for F to have data, and vice versa, AND E can only accept the letters, M,V,A: Cell F can only accept SM, SA or SV. I have not used Drop down menus, because my staff, has had problems with simple yes/no drop down in another spread sheet.

    I can get part of the formula to work for F is =OR(F12="SM",F12="SA",F12="SV"), Message "Use correct Coding"

    but when I try to add the second criteria for the E must be blank it doesn't work.
    =AND(ISBLANK(E12),OR(F12="SM",F12="SA",F12="SV")) Did block text in E if F had data but allowed any letter to be entered. Also tried this as an IF statement.

    I have also tried that if E has M, A, V
    =(OR(F12="SM",F12="SA",F12="SV"))=NOT(OR(E12="M",E12="A",E12="V")) wouldn't allow any data in F

    =AND(E12="M",E12="A",E12="V",OR(ISTEXT(F12))) Did block text in E if F had data but allowed any letter to be entered.

    Thank you so much for any help.

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Multiple validations

    For F12 the following formula for data validation will work if you uncheck the Ignore Blank.

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Registered User
    Join Date
    08-06-2012
    Location
    Columbia, MO
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Multiple validations

    Thank you for such a prompt response. I am sorry that did not work it allows any value to be in F.

    OOOPS- I forgot to uncheck the Ignore Blank box. It works WONDERFULLY. THANK YOU, THANK YOU, THANK YOU. Words cannot express my gratitude. This is the last piece I needed for this spreadsheet. I think I may have actually tried the formula, but didnt think aoubt the Ignore Blanks having an effect.

    Kimberly
    Last edited by kasb; 07-07-2014 at 03:38 PM. Reason: Sorry, forgot to check box

  4. #4
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Multiple validations

    Find the attached sheet to see if this works.
    Is this not what you are trying to achieve?
    Attached Files Attached Files

  5. #5
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: Multiple validations

    Glad it worked.
    If that takes care of your question, please mark your thread as Solved by selecting Thread Tools (just above your first post) --> Mark thread as solved.
    Moreover you may also click on * (star) to Add Reputation to those who have put their time and efforts to help you in this forum. This is another way to say thanks to them.

+ 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. Concatenation with multiple validations?
    By jrchel20 in forum Excel General
    Replies: 2
    Last Post: 09-22-2011, 03:48 PM
  2. Validations Based On Previous Validations
    By PhatPhil in forum Excel General
    Replies: 5
    Last Post: 11-16-2009, 04:19 AM
  3. Multiple Validations in one Cell
    By melnikok in forum Excel General
    Replies: 6
    Last Post: 07-29-2008, 09:10 AM
  4. Multiple Validations per Cell?
    By melnikok in forum Excel General
    Replies: 4
    Last Post: 07-18-2007, 09:52 AM
  5. Multiple Validations in for 1 cell
    By dmcnutt_ghg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-23-2005, 04:15 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