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
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!