Column Formula to Highlight Rows from the Current Week
I am trying to create a conditional format to highlight rows from the current week (starting Monday), based off the Start Date column.
I have found a formula here but it wont let me convert to a Column Formula:
=IF(WEEKNUMBER([Start Date]1) = WEEKNUMBER(TODAY()), 1)
I added the conditional formatting but it is not working.
Additionally, sometimes we have a row without a date yet. Is there a way to add to the formula to ignore empty cells so that it doesnt give off the INVALID code?
Answers
-
You can't make it a column formula because you're specifying an exact cell instead of @row, etc. Your formula should be (and then you can make it a column formula):
=IF(WEEKNUMBER([Start Date]@row) = WEEKNUMBER(TODAY()), 1)
Please show your conditional formatting setup.
For the error when blank problem:
=IFERROR(IF(WEEKNUMBER([Start Date]@row) = WEEKNUMBER(TODAY()), 1), "")
-
Thank you! That formula worked! Conditional formatting still doesn't work..however.
-
Duplicate
-
On the "this format", change the fill background color to yellow using this icon:
You've set the task bar color to yellow but that only shows on card view or calendar view or something like that, I forget.
-
@Mike TV Thank you so much, Michael!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.2K Get Help
- 360 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!