#UNPARSEABLE with multiple IF statements
Hi,
I am trying to create TEXT depending on some conditional information.
I want to display text RED if my materials clear date is less than 7 days from my due and display text YELLOW if my materials clear date is less than 14 days (but greater than 7 days) and if my materials clear date is greater than 15 days, leave the cell blank.
Here is the formula I came up with -
=IF([Original Promised Ship Date]@row +7 < [Materials Clear]@row, βREDβ, IF([Original Promised Ship Date]@row +14 < [Materials Clear]@row, βYELLOWβ, IF([Original Promised Ship Date]@row +15 < [Materials Clear]@row, ββ)))
What am I missing here?
Comments
-
HiΒ @Steve Burks
I hope you're well and safe!
At a glance, you have slanted "". I'm guessing you probably wrote the formula in Word or similar, correct?
Try something like this.
=IF([Original Promised Ship Date]@row +7 < [Materials Clear]@row, "RED",
IF([Original Promised Ship Date]@row +14 < [Materials Clear]@row, "YELLOW",
IF([Original Promised Ship Date]@row +15 < [Materials Clear]@row, "")))
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.
-
Hi Andree,
Yes and no. Thank you for pointing this issue out with the quote sign.
It did not work as expected, but that was because my logic was backward. I used + days instead of - days. Here is the corrected version -
=IF([Original Promised Ship Date]@row - 7 < [Materials Clear]@row, "RED",
IF([Original Promised Ship Date]@row - 14 < [Materials Clear]@row, "YELLOW",
IF([Original Promised Ship Date]@row - 15 < [Materials Clear]@row, "")))
Yes, I did use Word. Is there a setting in Word to use the correct quote symbol? I only ask because it is much easier to review in Word instead of the actual sheet. I am open to another suggestion as well.
-
Excellent!
Happy to help!
Are you on Mac or PC?
β Remember! 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.
-
I am on a PC.
-
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.
-
I will use Notepad++
Thank you again for all of your help! Have a great weekend.
-
You're more than welcome!
Thanks, and likewise!
β Remember! 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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!