Forum Discussion

Carl_61's avatar
Carl_61
Iron Contributor
Sep 30, 2021
Solved

Formula Help

I need help from someone who knows the answer to my question below.   I have this Nested IF Statement whereby I want to when needed, provide a separate answer if the statement is False.  For instan...
  • Yea_So's avatar
    Oct 14, 2021

    Carl_61 

    Your Final Formula:

     

    IFERROR(
    IF(
    OR(
    AND(E2="HVAC",F2="AC",J2>85),
    AND(E2="HVAC",OR(
    F2="AC",
    F2="Dehumidifier"
    ),
    OR(
    J2="No Power",
    J2="Leaking",
    J2="Noisy",
    J2="Broken"
    ),
    ),
    AND(E2="Appliance",OR(
    F2="Dehumidifier",
    F2="Dishwasher",
    F2="Water Heater"
    ),
    OR(
    J2="No Power",
    J2="Leaking",
    J2="Noisy",
    J2="Broken"
    )
    ),
    AND(E2="Appliance",OR(
    F2="Dishwasher",
    F2="Water Heater",
    F2="Oven/Range"
    ),
    J2="Not Heating"
    ),
    AND(E2="Appliance",OR(
    F2="Water Heater",
    F2="Oven/Range"
    ),
    OR(
    J2="Gas Leak",
    J2="Gas Smell"
    )
    ),
    AND(E2="Electrical",F2="Lights",OR(
    J2="No Power",
    J2="Broken"
    )
    ),
    AND(E2="Environmental",F2="Mold",OR(
    J2="Present",
    J2="Visible"
    )
    ),
    AND(E2="Plumbing",OR(
    F2="Drain",
    F2="Pipes",
    ),
    OR(
    J2="Leaking",
    J2="Smell",
    J2="Clogged",
    J2="Noisy",
    J2="Broken"
    )
    ),
    AND(E2="Structural",F2="Ceiling",OR(
    J2="Leaking",
    J2="Broken"
    )
    ),
    AND(E2="Structural",F2="Mold",OR(
    J2="Present",
    J2="Visible"
    )
    )
    ),
      IFS(AND(E2="HVAC",F2="AC",AND(ISNUMBER(J2),J2>85)),
    "LHS Temp is 86 and above",
    AND(E2="HVAC",F2="AC",J2<=85),
    "This is Not LHS Temp is 85 and below ",
    AND(E2<>"HVAC",F2<>"AC",NOT(ISNUMBER(J2))),"LHS"
    ),
    IFS(AND(E2="HVAC",F2="AC",J2>85),
    "LHS Temp is 86 and above",
    AND(E2="HVAC",F2="AC",J2<=85),
    "This is Not LHS Temp is 85 and below ",
    AND(E2<>"HVAC",F2<>"AC",NOT(ISNUMBER(J2))),"NOT LHS"
    )
    ),
    "")

     

    cheers

Resources