Can I use a formula in an If Statement?
I would like to insert a formula based on the selection "YES or NO" from another field. When trying this similar to other if statements i am receiving #UNPARSEABLE error.
=IF([Mgmt Cost Needed]@row = “YES”, “=[SubTotal]@row * 0.1”, IF([Mgmt Cost Needed]@row = “NO”, “0”))
I know i could probably achieve this through an automated workflow but ideally this should work. Any suggestions
Best Answer
-
Hi @GILLL023
I hope you're well and safe!
Try something like this.
=IF([Mgmt Cost Needed]@row = "YES", [SubTotal]@row * 0.1, IF([Mgmt Cost Needed]@row ="NO", 0)
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
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, Awesome, 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.
Answers
-
Hi @GILLL023
I hope you're well and safe!
Try something like this.
=IF([Mgmt Cost Needed]@row = "YES", [SubTotal]@row * 0.1, IF([Mgmt Cost Needed]@row ="NO", 0)
Did that work/help?
I hope that helps!
Be safe and have a fantastic weekend!
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, Awesome, 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å Thank you so much for the quick help, you are always such a great resource and appreciate your assistance! That solved the issue for me!
-
Excellent!
Thanks for the kind words, and you're more than welcome!
FYI - There were a couple of issues, but one of the main issues was the slanted "", and I'm guessing that you wrote the formula in Word or similar.
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.
-
Thanks, yes i had copied and updated it in NOTES, its usually those subtle details....
-
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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!