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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives