Formatting Issues

How to Create an Excel Training Matrix with Expiration Date Conditional Formatting

Emma BrownEmma Brown Nov 11, 2026 868 views

Question details

The user needs to build a training matrix in Excel that tracks certification expiration dates and automatically changes cell colors as the dates approach or pass.

How to Create an Excel Training Matrix with Expiration Date Conditional Formatting
Product
Excel
Device & OS
not provided
Scenario
Creating a visual tracking spreadsheet for employee training and qualifications where color-coded alerts indicate upcoming or past expirations.
Observed behavior
Target cells need to automatically change to yellow, orange, or red based on how close the expiration date is to the current date.
Before you start

Ensure your expiration dates are formatted as valid Excel dates rather than text, so the conditional formatting formulas can calculate the time differences correctly.

Solution 1Recommended

Apply Formula-Based Conditional Formatting for Expiration Dates

Use custom formulas with the EDATE and TODAY functions to assign different colors (yellow, orange, red) based on proximity to the expiration date.

By using the TODAY() function, the spreadsheet will dynamically update its colors every time you open it based on the current date. The EDATE() function calculates a specific number of months before or after a given date, making it perfect for expiration tracking.

1
Select the target range and set a default color

Select the entire range you want to format, starting from row 2 (e.g., D2 and below). On the Home tab, use the Fill Color tool to set the default background color to green for valid statuses.

2
Create a new rule for a 6-month warning

On the Home tab, select 'Conditional Formatting' > 'New Rule'. Choose 'Use a formula to determine which cells to format'. Enter the formula =$F2<EDATE(TODAY(),6) (assuming dates are in column F), click 'Format', and choose a yellow fill color.

3
Create a new rule for a 1-month warning

Repeat the previous step to create a second rule. Enter the formula =$F2<EDATE(TODAY(),1), click 'Format', and choose an orange fill color.

4
Create a rule for expired dates

Create a third rule. Enter the formula =$F2<TODAY(), click 'Format', and choose a red fill color to highlight past-due qualifications.

5
Order the rules by priority

Go to 'Conditional Formatting' > 'Manage Rules'. Ensure the rules are ordered with the most urgent condition (the red rule) at the top of the list, followed by the orange, and then yellow. Click 'OK' to apply.

Apply Formula-Based Conditional Formatting for Expiration Dates
Rule Priority Matters: Excel processes conditional formatting rules in order. Making sure the red (expired) rule is at the top ensures it overrides the 1-month and 6-month warnings when a date is already past due.
Efficient Spreadsheet Management

Track Training Matrices Easily with WPS Spreadsheet

WPS Office offers a powerful, free platform for creating and managing training matrices. Its Spreadsheet application fully supports advanced conditional formatting, EDATE, and TODAY formulas, ensuring your expiration trackers work perfectly.

  1. 1. Open your training matrix: Launch WPS Spreadsheet and open your employee training matrix document.
  2. 2. Access Conditional Formatting: Highlight the expiration date column and navigate to the Home tab, then click 'Conditional Formatting'.
  3. 3. Input date formulas: Select 'New Rule', choose the formula option, and input your EDATE and TODAY formulas to calculate the expiration warnings.
  4. 4. Customize colors: Set your custom fill colors for the warning and expired statuses, then click OK to apply the tracking rules.
Fully compatible with Microsoft Excel (.xlsx) formats and formula syntax.Intuitive Conditional Formatting manager to easily add and reorder expiration rules.Free and lightweight, perfect for HR and team management tasks.Cross-platform support for Windows, Mac, Linux, iOS, and Android.
microsoft office alternative - wps office

Frequently Asked Questions

Why isn't my conditional formatting formula updating the colors?

This usually happens if the dates are entered as text instead of valid Excel dates. Select your date column, go to the Data tab, and use 'Text to Columns' (clicking finish immediately) to convert them to recognizable dates.

Can I highlight the entire row instead of just the date cell?

Yes. Select the entire data range (e.g., A2:F100) before creating the rule, and make sure your formula uses an absolute column reference for the date cell, such as =$F2<TODAY(). The dollar sign locks the condition to column F.

What does the EDATE function do in this formula?

The EDATE function calculates a date a specified number of months in the past or future. For example, EDATE(TODAY(),6) returns the exact date 6 months from today, making it ideal for creating automated multi-month warnings.