• IF Statement With Multiple AND/ORs (Excel 2002)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » IF Statement With Multiple AND/ORs (Excel 2002)

    Author
    Topic
    #438631

    Hi All, I am trying to do a nested IF statement but get lost because I need to do AND/OR multiple times. I did a simple chart in the attached file that explains the issues. Is there a way to get one IF statement that will look at Col A or A & B, or A & B & C…?

    TIA

    Viewing 0 reply threads
    Author
    Replies
    • #1046357

      Try this formula in D4, then fill down:

      =IF(LOWER(A4)="red",0,IF(LOWER(LEFT(A4,5))="green",IF(OR(B4>=15,LOWER(C4)="yes"),150,0),""))

      I assumed that you want the formula to return a blank if A contains neither red, green or green-late, and that you want it to return 0 if B is less than 15 and C is not “yes”.

      • #1046445

        Hans, the formula works perfectly – and now that I see how you did it, it makes perfect sense. Thanks much!!

    Viewing 0 reply threads
    Reply To: IF Statement With Multiple AND/ORs (Excel 2002)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: