How to highlight overdue items in a SharePoint list
A warning light for every late task
In a long list, an overdue item looks exactly like everything around it, until you give it a warning light. I'll show you how to make late dates turn red on their own with a few lines of column formatting you can copy, and no change to the data underneath.
Quick show of hands: how many of us have scrolled right past an overdue task because it looked exactly like the forty rows around it? Same font, same color, same polite little date. The list knew it was late. It just didn’t say so.
If your team keeps a punch list, a task tracker, or a renewals list in SharePoint, this is a lovely ten-minute upgrade. By the end, late items will turn red on their own, and they’ll go back to normal once someone marks them done.
Why doesn’t an overdue item look overdue?
Out of the box, a list shows every row the same way. Picture the dashboard in a work truck where every gauge is the same shade of gray and none of the lights ever come on. The information is all there, but you’d have to read every needle to notice the one that’s in trouble. Most of us would rather hear about the engine from a little orange light than from the smoke.
Column formatting is how you wire in a warning light. You tell a column how to look based on its value (or another column’s value), and SharePoint repaints it every time someone opens the list. It doesn’t change the data at all, only how the column is displayed, so every date and status stays exactly as your team entered it.
Who can do the wiring? Microsoft says anyone who can create and manage views in the list can format its columns. In everyday terms, that’s anyone with edit rights to the list, which site members and owners usually have. Once you save, everyone who opens the list sees the light.
The screens are from Level Best Construction, a made-up contractor with a Punch List of open items on its Field Operations site. Each item has a Due date and a Status.

Can I do this without any code?
For many lights, yes! SharePoint has a point-and-click rule builder that colors a column when it matches a value.
- Select the column header (for example, Status), then Column settings, then Format this column.

- In the Format Status column pane, find Conditional formatting and select Manage rules, then Add rule.
- Build the rule. Under If, choose Status, is equal to, and Blocked. Then select the pencil beside Show list item as and pick a red fill. Select Save.

That’s perfect for values that sit still, like a status or a priority. “Overdue” is trickier, because it’s a moving target: a date that’s fine on Monday is late by Friday, and the rule builder is designed for comparing against a value you type in. For a light that knows what today is, we’ll use Advanced mode.
How do I wire up the overdue light?
Here’s the wiring. This snippet formats the Due column. It turns the date red on a pale red background once the due date has fully passed, as long as the item’s Status isn’t Complete. Blank dates stay plain. It needs edit rights to the list, and it changes only how the column looks.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField.displayValue",
"style": {
"color": "=if(Number(@currentField) > 0 && addDays(@currentField, 1) <= @now && [$Status] != 'Complete', '#a4262c', '')",
"background-color": "=if(Number(@currentField) > 0 && addDays(@currentField, 1) <= @now && [$Status] != 'Complete', '#fde7e9', '')"
}
}In plain words, each style line asks three questions: is there a date at all, has the whole due day gone by, and is the item still open? If all three answers are yes, the light comes on. @now is SharePoint’s word for “right now,” checked fresh each time the list loads, and addDays gives people until the end of the due day before the light turns red.
To install it:
- Select the Due column header, then Column settings, then Format this column.
- At the bottom of the pane, select Advanced mode.

- Replace everything in the box with the snippet, then select Preview to see the result in the list behind the pane.
- If it looks right, select Save.

And there it is: the late items glow, and everything on time stays calm. When someone marks an item Complete, its light goes out the next time the list loads, which is very satisfying to watch on a Friday afternoon.

What do I change for my list?
Two small details make the snippet fit your list.
The finished value. 'Complete' has to match your Status choice exactly, capital letters included. If your list says Done or Closed, change it in both lines.
The column name. [$Status] uses the column’s internal name, the one SharePoint gave it when it was created. Usually it matches what you see, but a column created as “Task Status” would be [$Task_x0020_Status], because spaces become _x0020_. To check, open Settings > List settings, select the column, and look at the end of the web address for Field=. On Level Best’s Punch List, the address ends in Field=Status, so [$Status] is right as written.
Keep the Status column visible in the view, too. The light reads Status from the row, and if the column is hidden, the formatting may not be able to see it.
Which kind of light do I need?
| You want | Use |
|---|---|
| A color for a fixed value, like Status = Blocked | The rule builder: Conditional formatting |
| A date that turns red once it’s passed | Advanced mode on the date column, with the snippet above |
| The whole row lit up, not just one cell | Format current view with view formatting, using the same test |
| An email when the date gets close | A list rule: A date approaches |
A light that comes on by itself
Highlighting overdue items comes down to one idea: let the list do the noticing. The rule builder handles fixed values, Advanced mode handles anything that depends on today, and a short snippet turns a sea of identical dates into a dashboard that tells you where to look first.
Once it’s wired, nobody has to remember to color anything, and nobody has to remember to un-color it. The light comes on when the date passes and goes out when the work is done. That’s exactly what a good warning light should do.
Next up: if your tracker is still a spreadsheet, it’ll need to become a list before it can have a warning light. How to turn an Excel spreadsheet into a SharePoint list shows the whole move.

