NETDAYS in an IF Statement
Hi, all-
I am trying to check a box in a helper column when a submission date is less than two weeks from a requested response date. Here is the formula I am using:
=IF(NETDAYS([Submission Date]@row,[Requested Response Date]@row)<15), 1, 0)
Submission and Requested Response Dates are formatted at date columns, and SS recognizes the cells.
I am getting an unparseable response.
Any thoughts on what is wrong with this formula? This should be easy, but I am missing it.
Answers
-
There was an extra parenthesis in the formula, which closed off the IF statement and resulted in an error.
=IF(NETDAYS([Submission Date]@row,[Requested Response Date]@row)<15, 1, 0)
-
Thanks, Kelly! And duh!
I removed the ")" and am now getting an invalid operation. Harrumph.
-
Hey @Kate Folwell
I can't replicate an invalid operation on my sheet. Could you grab a screenshot of your formula please. Is the Submitted column the system Created column? If yes, try to add the DATEONLY() function to this.
Kelly
-
Kelly-
Thanks for this- I was curious about how to handle a system date column- so that is really helpful. The conditions for this automation changed, so I ended up using a different date field and this formula worked without a hitch. Thanks again.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!