+ Reply to Thread
Results 1 to 5 of 5

Creating an IF/ELSE formula with multiple criteria - Nested IF/ELSE?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-04-2014
    Location
    Nevada, USA
    MS-Off Ver
    2019
    Posts
    345

    Creating an IF/ELSE formula with multiple criteria - Nested IF/ELSE?

    Hi Folks,
    I am trying to create an IF ELSE formula but don't know how to write it as it has a lot of conditions .
    Here's the crazy idea.

    If A1 = "A" or "T" and B1 = "A" or "T" - OR A1 = "O", C1 = "List" and B1 = "Admin" - OR A1 = "O", C1 = "List", B1 = "Admin" and D1 is not equal to "Q","Z","Y" or "L" - OR A1 = "G" and B1 = "Admin" - OR A1 = "P" or "Q" and B1 = "P" or "Q" - OR A1 = B1 - THEN "SAME", ELSE "DIFFERENT"

    Essentially, the text must read 'SAME" if these criteria are being matched or "DIFFERENT " is these conditions are not being met.

    Please help me if it is possible to write such a formula.
    Any Help is greatly appreciated.
    Thank you

  2. #2
    Forum Contributor
    Join Date
    07-29-2014
    Location
    Oz
    MS-Off Ver
    2010
    Posts
    142

    Re: Creating an IF/ELSE formula with multiple criteria - Nested IF/ELSE?

    Try:
    =IF(OR(AND(OR(A1="A",A1="T"),OR(B1="A",B1="T")),AND(A1="O",C1="List",B1="Admin"),AND(A1="O",C1="List",B1="Admin",OR(D1<>"Q",D1<>"Z",D1<>"Y",D1<>"L")),AND(A1="G",B1="Admin"),AND(OR(A1="P",A1="Q"),OR(B1="P",B1="Q"))),"SAME","DIFFERENT")
    Don't forget to ☆ me if I helped you!

  3. #3
    Forum Contributor
    Join Date
    06-04-2014
    Location
    Nevada, USA
    MS-Off Ver
    2019
    Posts
    345

    Re: Creating an IF/ELSE formula with multiple criteria - Nested IF/ELSE?

    Thank you.
    I will test this in a short while

  4. #4
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Creating an IF/ELSE formula with multiple criteria - Nested IF/ELSE?

    It's hard to follow your logic as it is written. However, you can nest OR and AND functions. The first part of your formula might be =IF(AND(OR(A1="A",A1="T"),OR(B1="A",B1="T"))...which says that: if (A1 = "A" or A1 = "T") and (B1 = "A" or B1 = "T")

    I hope that helps.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  5. #5
    Forum Contributor
    Join Date
    06-04-2014
    Location
    Nevada, USA
    MS-Off Ver
    2019
    Posts
    345

    Re: Creating an IF/ELSE formula with multiple criteria - Nested IF/ELSE?

    Thank you.
    Yes. there are a lot of crazy conditions

+ 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. Replies: 4
    Last Post: 03-27-2014, 01:09 PM
  2. [SOLVED] Need help creating an IF formula to add a percentage based on multiple criteria
    By jbear536 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-23-2013, 11:38 AM
  3. [SOLVED] creating a count formula that looks at multiple criteria
    By jdrobin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2013, 07:16 PM
  4. Creating a nested If function with multiple vlookups
    By Symeoni1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2012, 02:53 PM
  5. Replies: 3
    Last Post: 07-21-2009, 02:16 PM

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