+ Reply to Thread
Results 1 to 2 of 2

Multiple If statements

  1. #1
    Registered User
    Join Date
    03-21-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    1

    Multiple If statements

    How do I combine these 2 if statements:

    =if(and(J2<0.01,O2<0.01),"CHECK","")
    =if(and(J2>0.01,O2>0.01),"CHECK","")

    What i am trying to do is an error check. I need a value in either J2 or O2. I want to be warned if either they both have a value or if they are both missing a value.

    So my formula should do the following:

    When J or O has a value - show nothing
    When both J & O have a value - "CHECK"
    When both J & O are empty - "CHECK"

    The reason why i have 0.01 is that because of other formulas on the sheet the cell may show 0.00 so i cant use the ISBLANK in my formula.

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,104

    Re: Multiple If statements

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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] Nested if statements containing multiple and statements
    By John M. in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-22-2014, 11:48 PM
  2. Formula with multiple IF statements and IF AND statements
    By lottidotti in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-14-2013, 08:03 AM
  3. Replies: 3
    Last Post: 07-25-2013, 08:25 AM
  4. [SOLVED] Syntax for formula that uses multiple conditions inside of multiple IF statements
    By njmiller31 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2013, 11:55 AM
  5. Multiple nested IF statements and AND statements
    By TonyGetz in forum Excel General
    Replies: 2
    Last Post: 12-14-2010, 03:07 AM
  6. Replies: 0
    Last Post: 09-04-2009, 07:58 AM
  7. Replies: 12
    Last Post: 05-15-2009, 08:38 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