Net days if blank
I have a formula to calculate the net days between an order and shipment date in weeks.
=(NETDAYS([Order Rec.]@row, [Actual delivered date]@row) / 7)
This formula works; however, many of the old projects do not have an order date, resulting in an error of "#INVALID DATA TYPE". How do I add an If(isblank) to avoid this error?
Best Answer
-
I would just use an IFERROR function for this:
=IFERROR(original_formula, "")
Answers
-
I would just use an IFERROR function for this:
=IFERROR(original_formula, "")
-
That worked. Thanks!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!