IF or IF AND Formula conditions DATE
Comments
-
At a glance I can see there is a space in the "Yellow" part in the Balance@ row<0
Did that fix it?
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.
-
Can you double click on the cell... copy the entire formula and paste it in here for us to review? Its hard to see what could be going on with the screenshot.
-
Hi Andreé, indeed the space in the formula was going through a bad play. However, correcting the formula is operative, but inconsistent with the initial. Leaving blank any status in which its expiration date is greater than "today". Then perhaps the order of hierarchy in the formula would be a solution. I was re-ordering the position of the formula segments but I couldn't. The image I show now is applying the suggested, space in the corrected formula.
-
Hi Mike, here formula:
=IF(ISBLANK([Expiration Date]@row); ""; IF(AND([Expiration Date]@row > TODAY(); Balance@row > 0); "Rojo"; IF(Balance@row < 0; "Amarillo"; IF(Balance@row = 0; "Verde"))))
The colors are in Spanish, my account is in this language
The formula is operative, but inconsistent with what is initially required. Leaving blank ANY status in which its expiration date is greater than "today".
Perhaps the order of hierarchy in the formula would be a solution. I was re-ordering the position of the formula segments but it didn't work. The image I show now is applying the suggested, space in the corrected formula.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!