How can I incorporate 'IFERROR' in the below formula?
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 < Created@row), 1, 0)
Best Answer
-
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 < Created@row),1,0),"")
Did that work?
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 @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 < Created@row), 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 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.
-
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.
-
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, andree@workbold.com)
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.
-
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
-
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 < Created@row),1,0),"")
Did that work?
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
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!