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
- Customer Resources
- 65.9K Get Help
- 429 Global Discussions
- 146 Industry Talk
- 486 Announcements
- 5.2K Ideas & Feature Requests
- 86 Brandfolder
- 151 Just for fun
- 73 Community Job Board
- 498 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!