How can I incorporate 'IFERROR' in the below formula?

07/28/21
Accepted

In certain circumstances there will be no date in both ' CAT - Date of Last Activity' & Date of Last Activity plus 7 years. Therefore I receive the error message #INVALID OPERATION. How do I add the 'IFERROR' function to the below formula to stop this from happening. I had a go but can't seen to figure it out. Thanks!

=IF(AND([CAT - Search Outcome]@row = "Found", [CAT - Date of Last Activity]@row <> "", [Date of Last Activity plus 7 years]@row < [email protected]), 1, 0)

Best Answer

Answers

  • Andrée StaråAndrée Starå ✭✭✭✭✭
    edited 07/28/21

    Hi @Hannah Tawn

    I hope you're well and safe!

    Try something like this.

    =IFERROR(IF(AND([CAT - Search Outcome]@row = "Found", 
    [CAT - Date of Last Activity]@row <> "", 
    [Date of Last Activity plus 7 years]@row < [email protected]), 1, 0),"")
    

    Did that work/help?

    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.

  • Thanks! @Andrée Starå

    Unfortunately that didn't work, it just changed the error to 'INCORRECT ARGUEMENT STATEMENT'. Any other suggestions? It may be important to mention that the row with the function in is a checkbox column, so ideally it wouldn't product the error and just leave the box unchecked.

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

    @Hannah Tawn

    Happy to help!

    I'd be happy to take a quick look.

    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])

    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.

  • @Andrée Starå

    This is the sheet I am working with, as you can see it's the text (None) in "CAT - Date of Last Activity" that throws the formula out. I just want where it says "#INVALID" to be an unchecked box

  • Andrée StaråAndrée Starå ✭✭✭✭✭
    edited 07/28/21 Accepted Answer

    @Hannah Tawn

    Try this one instead.

    =IFERROR(IF(AND([CAT - Search Outcome]@row = "Found", 
    [CAT - Date of Last Activity]@row <> "", 
    [Date of Last Activity plus 7 years]@row < [email protected]),1,0),"")
    

    Did that work?

    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.