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.
-
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!