IF AND formula with between dates
I'm trying to toggle and RYGG status field with a formula. The idea
If the contract send day is more then 14 days ago and the contract hasn't been executed I want the status to be RED. If the contract day is more than 7 days, less than 13, and the contract hasn't been executed the status should be YELLOW. Otherwise it should be Green.
Here is the formula I am working with, but it keeps telling me this is unparseable. Can anyone tell me what I'm missing?
=IF(AND([Send Date]1 - TODAY() < 14, [Contract Executed]1 = "false"), "Red", IF(AND([Send Date]1 - TODAY() < 7, [Send Date]1 - TODAY() > 13, [Contract Executed]1 = "false"), “Yellow”, ”Green"))
Best Answer
-
I was able to figure it out.
I had the date calculation backwards needs to be Today() - [Send Date] to get a positive number for the greater-than formula to work.
Answers
-
I was able to fix it by fixing the quotes, but not matter what I get RED unless the Contract Executed is checked.
-
Hi Xander,
What's your column names?
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@getdone.se)
I hope that helps!
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
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 was able to figure it out.
I had the date calculation backwards needs to be Today() - [Send Date] to get a positive number for the greater-than formula to work.
-
@Xander Brennan, Glad you got it working!
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
- 64.2K Get Help
- 419 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!