How to Create an Excel Training Matrix with Expiration Date Conditional Formatting
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.

- 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.
Ensure your expiration dates are formatted as valid Excel dates rather than text, so the conditional formatting formulas can calculate the time differences correctly.
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.
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.
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.
Repeat the previous step to create a second rule. Enter the formula =$F2<EDATE(TODAY(),1), click 'Format', and choose an orange fill color.
Create a third rule. Enter the formula =$F2<TODAY(), click 'Format', and choose a red fill color to highlight past-due qualifications.
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.

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. Open your training matrix: Launch WPS Spreadsheet and open your employee training matrix document.
- 2. Access Conditional Formatting: Highlight the expiration date column and navigate to the Home tab, then click 'Conditional Formatting'.
- 3. Input date formulas: Select 'New Rule', choose the formula option, and input your EDATE and TODAY formulas to calculate the expiration warnings.
- 4. Customize colors: Set your custom fill colors for the warning and expired statuses, then click OK to apply the tracking rules.

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.




