Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
IFERROR
The formula underlined works perfectly when there is a date in the relevent cell. When their is no date (data) it returns a error.
Ive had a go at trying to figure it out below.
=DATE(YEAR([Invoiced Date]2), MONTH([Invoiced Date]2) + 1, 20)
=DATE(YEAR,IFERROR([Invoiced Date]3),""), MONTH,IFERROR([Invoiced Date]3),"-"), + 1, 20)
Comments
-
Does checking to see if it is a date first get you there?
=If(ISDATE([Invoiced Date]2), DATE(YEAR([Invoiced Date]2), MONTH([Invoiced Date]2) + 1, 20), "")
-
Another option. Wrap the entire expression in IFERROR.
=IFERROR(DATE(YEAR([Invoiced Date]3), MONTH([Invoiced Date]3) + 1, 20), "")
-
Brett and John,
Thanks both for your insights. Working like treat.
This discussion has been closed.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives