Checkbox Formulas with 2 conditions
Hello, im trying to generate a formula on what is checked the previous and next week but not the current week. im trying this but with no luck:
=IF(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()), WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY()), 1)
Can you help me?
Best Answer
-
... Its friday lol. I made a stupid mistake, sorry
=IF(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()),1, If(WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY()), 1)
Give that a try. It will post a 1 if the week is not current
if you want it to post only if it is next week or the previous week we can do that as well just let me know
Answers
-
Close
=IF(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()), If(WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY()), 1)
You missed the second if statement. You could also do this with an and
=IF(and(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()), WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY())), 1)
-
Thank you for the help!
Unfortunately I try both with no luck
-
... Its friday lol. I made a stupid mistake, sorry
=IF(WEEKNUMBER(Date@row) < WEEKNUMBER(TODAY()),1, If(WEEKNUMBER(Date@row) > WEEKNUMBER(TODAY()), 1)
Give that a try. It will post a 1 if the week is not current
if you want it to post only if it is next week or the previous week we can do that as well just let me know
-
It worked!!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 59 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!