Nested If & And error
Hello,
I'm relatively new to Smartsheet and am having an issue building a nested if/and function for one of my grids.
I have 2 columns ("Effort" & "Impact") and am trying to get 4 unique values based on the numbers -
If Effort@row >12.5 and Impact@row<45 show "Kill"
If Effort@row>12.5 and Impact@row>45 show "Challenge"
If Effort@row<12.5 and Impact@row<45 show "Possible"
If Effort@row<12.5 and Impact@row>45 show "Implement"
Any guidance on how to build this out?
Best Answer
-
Hi @JBS27
You've done a good job so far! It's now just about tweaking the structure of your statements.
For example, for this statement
If Effort@row >12.5 and Impact@row<45 show "Kill"
use this:
=IF(AND(Effort@row >12.5, Impact@row < 45), "Kill",
Full formula:
=IF(AND(Effort@row >12.5, Impact@row < 45), "Kill", IF(AND(Effort@row > 12.5, Impact@row > 45), "Challenge", IF(AND(Effort@row < 12.5, Impact@row < 45), "Possible", IF(AND(Effort@row < 12.5, Impact@row > 45), "Implement"))))
We could tweak it a bit to make it more concise, but the above formula is a direct translation of your four statements so it makes the most logical sense for me.
Let me know if I can clarify anything further!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi @JBS27
You've done a good job so far! It's now just about tweaking the structure of your statements.
For example, for this statement
If Effort@row >12.5 and Impact@row<45 show "Kill"
use this:
=IF(AND(Effort@row >12.5, Impact@row < 45), "Kill",
Full formula:
=IF(AND(Effort@row >12.5, Impact@row < 45), "Kill", IF(AND(Effort@row > 12.5, Impact@row > 45), "Challenge", IF(AND(Effort@row < 12.5, Impact@row < 45), "Possible", IF(AND(Effort@row < 12.5, Impact@row > 45), "Implement"))))
We could tweak it a bit to make it more concise, but the above formula is a direct translation of your four statements so it makes the most logical sense for me.
Let me know if I can clarify anything further!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!