Help with a formula
I have two identical formulas except for a different cell reference. One works just fine, the other gives me an Invalid Data Type Formula. I can't find the issue
Answers
-
Hi,
I hope you're well and safe!
Can you share some screenshots? (Please delete/replace any confidential/sensitive information before sharing.) That would make it easier to help.
I hope that helps!
Be safe, and have a fantastic day!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅ Did my comment(s) help/answer your question or solve your problem? Please support the Community and me by marking it - Insightful 💡- Vote Up ⬆️ - Aweseome ❤️ - or/and as the accepted answer. It will make it easier for others to find a solution or help to answer! I appreciate it, thanks!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 have reposted screen shots here.
-
Try wrapping all YEAR and MONTH functions in an IFERROR statement:
IFERROR(YEAR(@cell), 0) = 2024
IFERROR(MONTH(@cell), 0) >= 1
IFERROR(MONTH(@cell), 0) <= 3
-
Thanks, Paul. That may be an elegant way of writing the formula…but it still doesn't explain why I get no error message in many other cells with the formula as written and I get an error message in other cells. Can you help me explain that?
-
Did that adjustment get rid of the error in those other cells, or is the error still present?
-
Error is still present.
-
Is that particular error present in any referenced cell?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!