Multiple IF statements
Hi Team,
I tried to follow the solution mentioned "regarding combining multiple IF statements", I get an Unparseable error.
My formula: =IF([PM Effectiveness]@row=🤩 Strongly Agree,"5",IF([PM Effectiveness]@row=🙂 Agreed,"4",IF([PM Effectiveness]@row=😐 Neutral,"3",IF([PM Effectiveness]@row=😞 Disagree,"2",IF([PM Effectiveness]@row=😡 Strongly Disagree,"1")))))
What Am I missing?
Best Answer
-
I only corrected your formula structure. I didn't have time to look at it in detail.
Have a look below. Isn't that what you need? Can you describe how you'd want it to work?
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
=IF([PM Effectiveness]@row="🤩 Strongly Agree",5,
IF([PM Effectiveness]@row="🙂 Agreed",4,
IF([PM Effectiveness]@row="😐 Neutral",3,
IF([PM Effectiveness]@row="😞 Disagree",2,
IF([PM Effectiveness]@row="😡 Strongly Disagree",1)
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Hi @UrbanNomad
Hope you are fine, i don't know from where you select this set of symbol but i assume you are trying to use the following set so i create this formula for you:
=IFERROR(IF([PM Effectiveness]@row = "No Pain", 5, IF([PM Effectiveness]@row = "Mild", 4, IF([PM Effectiveness]@row = "Moderate", 3, IF([PM Effectiveness]@row = "Severe", 2, IF([PM Effectiveness]@row = "Very Severe", 1, IF([PM Effectiveness]@row = "Extreme", 0)))))), "")
The following screenshots show what symbol set i select and the result of the formula:
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Hi @UrbanNomad
I hope you're well and safe!
Try something like this.
=IF([PM Effectiveness]@row="🤩 Strongly Agree",5,IF([PM Effectiveness]@row="🙂 Agreed",4,IF([PM Effectiveness]@row="😐 Neutral",3,IF([PM Effectiveness]@row="😞 Disagree",2,IF([PM Effectiveness]@row="😡 Strongly Disagree",1)))))
Did that work/help?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå This did not help, it gave 5 ratings for all the rows, there are few "Agreed" in my sheet.
-
I only corrected your formula structure. I didn't have time to look at it in detail.
Have a look below. Isn't that what you need? Can you describe how you'd want it to work?
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
=IF([PM Effectiveness]@row="🤩 Strongly Agree",5,
IF([PM Effectiveness]@row="🙂 Agreed",4,
IF([PM Effectiveness]@row="😐 Neutral",3,
IF([PM Effectiveness]@row="😞 Disagree",2,
IF([PM Effectiveness]@row="😡 Strongly Disagree",1)
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@Andrée Starå Never mind, I tried once again, it worked, thanks a lot for the prompt response, I'm curious what was missing in my formula?
-
Excellent!
You're more than welcome!
Here's the difference. (In each part, you didn't have the "surrounding the text but on the numbers) When you put it around numbers, it's read as text. And when it's not around text, it doesn't work.
=IF([PM Effectiveness]@row=🤩 Strongly Agree,"5"
=IF([PM Effectiveness]@row="🤩 Strongly Agree",5,
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 457 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives