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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!