Complex IF OR Statement

Hi Can someone help me put these three statements together, I cant work it out.


=IF([Charger/ Socket kW]@row = 300, [Formal Application Capacity (kVA)]@row / 300, [Formal Application Capacity (kVA)]@row)


=IF([Charger/ Socket kW]@row = 50, [Formal Application Capacity (kVA)]@row / 50, [Formal Application Capacity (kVA)]@row)


=IF([Charger/ Socket kW]@row = 150, [Formal Application Capacity (kVA)]@row / 150, [Formal Application Capacity (kVA)]@row)


=IFERROR say "Check Charger/ Socket kW"

Answers

  • Try using this:

    =Iferror(if([Charger/ Socket kW]@row = 300,[Formal Application Capacity (kVA)]@row / 300,if([Charger/ Socket kW]@row = 50,[Formal Application Capacity (kVA)]@row / 50,if([Charger/ Socket kW]@row = 150,[Formal Application Capacity (kVA)]@row / 150,[Formal Application Capacity (kVA)]@row))), "Check Charger/ Socket kW")

    However rather than trying to nest the ifs together something like the following might make more sense:

    =iferror(IF([Charger/ Socket kW]@row = "",[Formal Application Capacity (kVA)]@row,[Formal Application Capacity (kVA)]@row / [Charger/ Socket kW]@row),"Check Charger/ Socket kW")

    Then make the [Charger/ Socket kW] a restricted dropdown so only the 3 options can be selected

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!