+ Reply to Thread
Results 1 to 4 of 4

Complex IF(OR(AND fx problem help needed

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Tampa
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    63

    Complex IF(OR(AND fx problem help needed

    Ok, I have had great results on my two previous IF fx posts, but this one is a humdinger. Let's see which one of you Excel masters can help me out.


    A B C D
    1. 2, -11, 9
    2. -6, -8, 22
    3. 7, 17, 19
    4. -25, -1, 5

    In cell D1, I need a IF(OR(AND fx that calculates the following:

    If B1 is less than or equal to -10,
    OR if B1 is less than or equal to -7 AND A1 is greater than or equal to -10 AND less than or equal to 10,
    OR if C1 is greater than or equal 10 AND B1 is greater than or equal to 10 AND A1 is greater than or equal to -10 AND less than or equal to 10, then cell D1 should read "1", if not, D1 should be blank.

    In the above example, D1 should have a "1", D2 should have a "1", D3 should have a "1", and D4 should be "blank".

    I can barely walk in a straight line, so if anyone can figure this one out, I would be most appreciative.

    Thanks in advance!
    Last edited by brose99; 11-16-2012 at 06:25 PM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Complex IF(OR(AND fx problem help needed

    Use..

    =IF(OR(B1<=-10,AND(B1<=-7,A1>=-10,A1<=10),AND(C1>=10,B1>=10,A1>=-10,A1<=10)),1,"")
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Complex IF(OR(AND fx problem help needed

    Try this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    - Moo

    * Darn that AceXL fella is quick

  4. #4
    Registered User
    Join Date
    11-15-2012
    Location
    Tampa
    MS-Off Ver
    Excel 2011 for Mac
    Posts
    63

    Re: Complex IF(OR(AND fx problem help needed

    Once again, Ace_XL, you are nails! Thanks again for your help!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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