+ Reply to Thread
Results 1 to 6 of 6

Multiple if and or conditions

  1. #1
    Registered User
    Join Date
    04-14-2021
    Location
    Israel
    MS-Off Ver
    365
    Posts
    5

    Multiple if and or conditions

    Hey all,

    I need help to come up with a formula that includes multiple IF AND OR conditions and Im not sure where to start.

    The conditions are

    if (A2>1 and B2<1 and C2<1) OR (A2<1 and B2<1 and C2<1) OR (A2<1 and B2>1 and C2>1) OR (A2<1 and B2>1 and C2<1) then 1
    if (A2>1 and B2>1 and C2<1) OR (A2>1 and B2<1 and C2>1) then 2
    if (A2>1 and B2>1 and C2>1) then 3
    Attached Files Attached Files
    Last edited by sopedrulka; 04-18-2021 at 01:25 AM.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,461

    Re: Multiple if and or conditions

    So, If A2<1 then always 1 regardless B2 and C2?

    Please Login or Register  to view this content.
    Last edited by bebo021999; 04-14-2021 at 05:21 AM.
    Quang PT

  3. #3
    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
    44,383

    Re: Multiple if and or conditions

    This is the answer to your question though the previous solution provides the same result much more efficiently.

    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


  4. #4
    Registered User
    Join Date
    04-14-2021
    Location
    Israel
    MS-Off Ver
    365
    Posts
    5

    Re: Multiple if and or conditions

    Thank you, it worked

  5. #5
    Registered User
    Join Date
    04-14-2021
    Location
    Israel
    MS-Off Ver
    365
    Posts
    5

    Re: Multiple if and or conditions

    Hello, unfortunately we have one case where A2 is not always <1
    thank you anyway!

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,461

    Re: Multiple if and or conditions

    What is your new condition if A1>=1 and A1<1?

+ 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] Help for IF conditions with multiple Conditions (scenario more than 5 conditions)
    By meily_o26 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-16-2019, 02:13 AM
  2. Replies: 29
    Last Post: 01-01-2017, 10:25 AM
  3. Replies: 2
    Last Post: 01-14-2016, 03:53 PM
  4. [SOLVED] Vlookup - Country conditions (Multiple conditions)
    By dluhut in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-26-2013, 11:42 AM
  5. Replies: 0
    Last Post: 08-14-2012, 01:18 PM
  6. Replies: 1
    Last Post: 12-05-2010, 04:39 AM
  7. [SOLVED] How to multiple conditions to validate more than 2 conditions to .
    By Bhuvana Govind in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-28-2005, 04:06 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