Dates in IFS Statement
I am trying to use dates (formatted in dates columns) in an IFS statement to compare dates in multiple columns and provide calculations based upon whether a date is before or after (<>) a certain date. I am getting an #UNPARSEABLE error message. I'm wondering if the dates are not reading correctly in the formula, or if something else is wrong. I copied the formula format from a preexisting Excel sheet.
Take a look:
=IFS($DATE@row<$[Savings Start Date (when Contract/ Service Starts)]@row,0,$DATE@row>$[Savings End Date]@row,0,$[Recurring Savings? (Y/N)]@row="N",$[Annual Savings (Run Rate)]@row,TRUE,$[Annual Savings (Run Rate)]@row/12)
Best Answer
-
Try something like this.
=IF(DATE@row < [Savings Start Date (when Contract/ Service Starts)]@row, 0, IF(DATE@row > [Savings End Date]@row, 0, IF([Recurring Savings? (Y/N)]@row = "N", [Annual Savings (Run Rate)]@row, ([Annual Savings (Run Rate)]@row / 12))))
Did that work/help?
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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 @T. Brooks
I hope you're well and safe!
There are multiple errors in the formula.
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@workbold.com)
I hope that helps!
Be safe and have a fantastic week!
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 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.
-
Thank you Andree. I shared the sheet with you.
-
I tried to revise it to a nested IF statement but now I am getting an "Incorrect Argument" error.
=IF(DATE@row < [Savings Start Date (when Contract/ Service Starts)]@row, 0, IF(DATE@row > [Savings End Date]@row, 0), IF([Recurring Savings? (Y/N)]@row = "N", [Annual Savings (Run Rate)]@row, ([Annual Savings (Run Rate)]@row / 12)))
If anyone knows what I'm missing, please advise.
-
Try something like this.
=IF(DATE@row < [Savings Start Date (when Contract/ Service Starts)]@row, 0, IF(DATE@row > [Savings End Date]@row, 0, IF([Recurring Savings? (Y/N)]@row = "N", [Annual Savings (Run Rate)]@row, ([Annual Savings (Run Rate)]@row / 12))))
Did that work/help?
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!