Forum Discussion

DnGr's avatar
DnGr
Brass Contributor
May 22, 2025
Solved

Formatting a table based on todays date

I created a table that contains information the next time employees are eligible to order uniforms based on their start date.  I want the spreadsheet to highlight the row for each employee based on "...
  • HansVogelaar's avatar
    May 22, 2025

    Select all data rows of the table. The active cell in the selection should be in the first data row.

    In the following, I'll assume that the first data row is row 2, and that the relevant date column is column D.

    On the Home tab of the ribbon, click Conditional Formatting > New Rule...
    Select 'Use a formula to determine which cells to format'.
    Enter the formula

    =$D2=TODAY()

    Click Format...
    Activate the Fill tab.
    Select a fill color.
    Click OK, then click OK again.

    To receive an email with eligible employees would require VBA.

Resources