Formula to return a 1 if cell is between two weeks
I just started with Smartsheet 10 days ago and I just want to say this community is great! Up until now I've found the answer for every question I had on this forum.
I'm trying to get DueNext2 to return a 1 if the Due column is within two weeks from today. It isn't working and I've tried everything I know (which is very little). It seems like it should work but I keep getting Incorrect Argument errors. What am I doing wrong?
Best Answer
-
Got it!
=IFERROR(IF(AND(WEEKNUMBER(Due@row) > WEEKNUMBER(TODAY()), WEEKNUMBER(Due@row) < WEEKNUMBER(TODAY(+14))), 1, 0), 0)
That seems to be working the way I need.
Answers
-
Got it!
=IFERROR(IF(AND(WEEKNUMBER(Due@row) > WEEKNUMBER(TODAY()), WEEKNUMBER(Due@row) < WEEKNUMBER(TODAY(+14))), 1, 0), 0)
That seems to be working the way I need.
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.4K Get Help
- 394 Global Discussions
- 213 Industry Talk
- 449 Announcements
- 4.6K Ideas & Feature Requests
- 141 Brandfolder
- 132 Just for fun
- 131 Community Job Board
- 453 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 293 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!