A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi @HI34
Thank you for reaching out to Microsoft Q&A.
It looks like you're setting up conditional formatting for vehicle tag expiration and service dates — I gave it a test on my end in Excel, and everything worked well. Hope this helps and makes things easier for you!
How to apply conditional formatting:
- Select your target cells.
- Go to Home > Conditional Formatting > New Rule.
- Choose “Use a formula to determine which cells to format.”
- Enter the relevant formula.
- Click Format, select the color you want (Red, Yellow, or Green), then click OK.
- Repeat the steps for each condition.
For Vehicle Tag Expiration Dates (Column A):
- Red: Already expired or expiring today =A2<=TODAY()
- Yellow: Will expire within the next 60 days =AND(A2>TODAY (), A2-TODAY()<=60)
- Green: More than 60 days until expiration =A2-TODAY()>60
For Vehicle Service Dates (Column B):
- Red: Overdue (more than 1 year since last service) =TODAY()>EDATE(B2,12)
- Yellow: Within 60 days before the 1-year mark =AND(TODAY()>=EDATE(B2,12)-60, TODAY()<=EDATE(B2,12))
- Green: Service was done between 61 days and 1 year ago =AND(TODAY()>=B2+60, TODAY()<=EDATE(B2,12)-61)
If you need further assistance, please let us know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.