Hello,
It sounds like you’re on the right track with using a formula column and then conditional formatting in Monday.com! Let’s break down where your formula might be going wrong and how to fix it, and then discuss the best way to implement the highlighting.
Where Your Formula is Going Wrong: TODAY(">30")
The main issue in your formula TODAY(">30")
is that TODAY()
returns the current date. You can’t directly compare it to a string like ">30"
in that way to check for a past date.
To check if a date is more than 30 days ago, you need to:
- Get the current date.
- Subtract 30 days from the current date.
- Compare your “Date Raised” to that calculated date.
Monday com formulas use DAYS()
and FORMAT_DATE()
functions (or similar date manipulation functions) for these kinds of comparisons.
Corrected Formula for Your New Column
Here’s a more accurate formula you can use in your new column to achieve the “Yes” when conditions are met:
IF(AND({Status}="Not Started", DAYS(TODAY(), {Date Raised}) > 30), "Yes", "No")
Let’s break this down:
IF(condition, value_if_true, value_if_false)
: This is the basic structure of an IF statement.
AND(condition1, condition2)
: This checks if both condition1
and condition2
are true.
{Status}="Not Started"
: This checks if your “Status” column is exactly “Not Started”. Make sure the text matches exactly what’s in your dropdown.
DAYS(TODAY(), {Date Raised}) > 30
: This is the crucial part for the date.
TODAY()
: Gets the current date.
{Date Raised}
: Refers to the value in your “Date Raised” column.
DAYS(date1, date2)
: This function calculates the number of days between date1
and date2
. If date1
is later than date2
, the result will be positive.
> 30
: We are checking if the number of days between today and the date raised is greater than 30. This means the date raised was more than 30 days ago.
This formula will output “Yes” if both conditions are met, and “No” otherwise.
Implementing the Highlighting (Your Best Approach)
Your current thought process is the best way to achieve this in Monday com given the limitations of direct conditional formatting for multiple conditions on a single row highlight:
- Create a new “Helper” Formula Column: Use the formula provided above (e.g., call this column “Highlight Trigger”).
- Apply Conditional Formatting to the “Helper” Column:
- Go to your board settings.
- Select “Conditional Formatting”.
- Add a new rule.
- Condition: “If ‘Highlight Trigger’ is ‘Yes’”.
- Action: “Highlight the entire row” (or specific cells if you prefer, but you want the row).
- Color: Choose red.
This method works because Monday com’s conditional formatting can apply to the entire row based on a single cell’s value, which in your case, is the result of your multi-condition formula.
Why Direct Automation Might Not Work Easily
You mentioned trying automation. While Monday com’s automation is powerful, for something like “highlight row based on two dynamic conditions (status AND date calculation)”, it’s less straightforward. Automations are typically triggered by an event (e.g., “when status changes”) and then perform an action. Highlighting based on an ongoing time-based condition (date being older than 30 days) and another column’s value often requires a more complex setup or isn’t directly supported by standard highlighting automations. The formula + conditional formatting approach is more robust for this specific scenario.
Summary of Steps:
- Add a new “Formula” column to your Monday com board (e.g., name it “Highlight Trigger”).
- Paste the corrected formula into this new column:
IF(AND({Status}="Not Started", DAYS(TODAY(), {Date Raised}) > 30), "Yes", "No")
- Set up Conditional Formatting:
- Click on the column header of your “Highlight Trigger” column.
- Select “Conditional Formatting”.
- Click “Add new rule”.
- Choose “If ‘Highlight Trigger’ is ‘Yes’”.
- Under “Then highlight”, select “Entire row” and choose your desired red color.
This setup will achieve exactly what you’re looking for!
www smartsquarehmh com