Dates in IFS Statement

09/20/21
Accepted

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([email protected]<$[Savings Start Date (when Contract/ Service Starts)]@row,0,[email protected]>$[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

  • Andrée StaråAndrée Starå ✭✭✭✭✭
    Accepted Answer

    @T. Brooks

    Try something like this.

    =IF([email protected] < [Savings Start Date (when Contract/ Service Starts)]@row, 0, 
    IF([email protected] > [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 PARTNER & CONSULTANT / EXPERT

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E: [email protected] | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.

Answers

  • Andrée StaråAndrée Starå ✭✭✭✭✭

    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, [email protected])

    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 PARTNER & CONSULTANT / EXPERT

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E: [email protected] | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.

  • 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([email protected] < [Savings Start Date (when Contract/ Service Starts)]@row, 0, IF([email protected] > [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.

  • Andrée StaråAndrée Starå ✭✭✭✭✭
    Accepted Answer

    @T. Brooks

    Try something like this.

    =IF([email protected] < [Savings Start Date (when Contract/ Service Starts)]@row, 0, 
    IF([email protected] > [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 PARTNER & CONSULTANT / EXPERT

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E: [email protected] | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.

Sign In or Register to comment.