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
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 405 Global Discussions
- 215 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!