Sub topic 8
Highlighting overdue follow-ups
This chapter assumes you already have the tracker columns from earlier chapters: Status in column D, Last activity in F, and Next follow-up in H, with the formula =IF(F2="","",F2+7) filled down. It also assumes the Status column uses the dropdown list. You need basic comfort with spreadsheet formulas, but no scripting.
Why highlight instead of scan
A follow-up date in column H is only useful if you notice it. With 40 rows, you will not read every date each week. Conditional formatting is a spreadsheet feature that changes a cell's color when a rule is true. Use it so overdue rows stand out without any effort from you.
The rule needs to answer one question for each row: is a follow-up due, and is the application still open?
The rule
This formula works as a custom rule in both Excel and Google Sheets:
=AND($H2<>"",$H2<=TODAY(),$D2<>"Rejected",$D2<>"Withdrawn",$D2<>"Accepted")Each part of the formula does one job:
| Part | What it checks |
|---|---|
| `$H2<>""` | A follow-up date exists. Blank cells are not treated as overdue. |
| `$H2<=TODAY()` | The date is today or earlier. `TODAY()` returns the current date and updates each day. |
| `$D2<>"Rejected"` and the other two | The application is still open. Closed rows never highlight. |
AND returns true only when every condition is true.
Applying the rule
- Select the data rows, for example
A2:J500. Select the whole row range, not only column H, so the entire row changes color. - In Excel, choose Home, then Conditional Formatting, then New Rule, then "Use a formula to determine which cells to format". In Google Sheets, choose Format, then Conditional formatting, then "Custom formula is".
- Paste the formula.
- Pick a fill color, such as light red, and confirm.
Why the dollar signs matter
The formula is written for row 2, the first selected row. The spreadsheet adjusts the row number for every other row. So row 3 is tested with $H3, and row 4 with $H4.
The $ before the column letter locks the column. Every cell in a row then looks at columns H and D, so the whole row lights up together. The row number has no $, so it changes from row to row.
Adding a second tier
One color treats a follow-up due today the same as one three weeks late. You can add a second rule with a stronger color for older items. Place this rule above the first so it takes priority:
=AND($H2<>"",$H2<=TODAY()-7,$D2<>"Rejected",$D2<>"Withdrawn",$D2<>"Accepted")Use dark red for this rule and light red for the first one. In Excel, tick "Stop if true" on the dark rule. In Google Sheets, the first matching rule wins, so order alone is enough.
Common errors
- Nothing highlights. The dates may be stored as text. Left-aligned dates usually mean text. Re-enter them, or set the column format to Date.
- Blank rows highlight. The
$H2<>""check is missing. It matters because a blank cell counts as 0, which is earlier than today. - A rejected application still highlights. The status spelling differs from the rule, such as "Rejected " with a trailing space. The dropdown from the earlier chapter prevents this.
- The wrong rows highlight. The formula's row number does not match the first row of the selected range.
Check your understanding
Exercise
A row has Status "Interview", a Next follow-up date of yesterday, and the rule =AND($H2<>"",$H2<=TODAY(),$D2<>"Rejected",$D2<>"Withdrawn",$D2<>"Accepted") applied to A2:J500. Will the row be highlighted? What happens if you change the status to "Withdrawn"?
Show answer
Yes, the row is highlighted. The date is not blank, it is earlier than today, and "Interview" is not one of the closed statuses. If the status changes to "Withdrawn", the third condition fails, so the whole AND returns false and the highlight disappears.
Exercise
You applied the rule to column H only, and now just the date cell turns red. How do you make the whole row turn red, and why does the formula still work?
Show answer
Edit the rule so that it applies to the whole data range, such as A2:J500. The formula still works because $H and $D lock the columns, so every cell in a row evaluates the same test against the same two cells.