Function Problems

Excel Formula to Mark a Warranty as Active or Expired by Date

Adam DavisAdam Davis Nov 13, 2026 868 views

Question details

Automatically display Active or Expired by comparing today's date with a product's warranty expiration date.

Excel Formula to Mark a Warranty as Active or Expired by Date
Product
Microsoft Excel
Device & OS
not provided
Scenario
A worksheet contains warranty expiration dates and needs a formula-based status for each product.
Observed behavior
The warranty status should show Expired when today's date reaches or passes the expiration date, and Active before that date.
Before you start

Identify the cell containing the warranty expiration date, such as D16, and choose a separate cell for the status. Confirm that the expiration date is stored as a valid spreadsheet date rather than text.

Solution 1Recommended

Use IF and TODAY to calculate warranty status

Use this formula when the warranty should be marked Expired on its expiration date and afterward.

1
Select the status cell

Click the cell where you want the warranty status to appear, such as E16, if the expiration date is in D16.

2
Enter the warranty status formula

Type =IF(TODAY()>=D16,"Expired","Active") and press Enter. Replace D16 with the cell that contains your warranty expiration date.

3
Apply the formula to other products

Select the formula cell and drag its fill handle down the status column. Relative references will adjust to the expiration date in each row.

4
Check automatic calculation

In Excel desktop, go to Formulas > Calculation Options and select Automatic. TODAY() uses the current system date and updates when the workbook recalculates, such as when it is opened.

Choose the expiration-day rule: The >= comparison marks the warranty Expired on the listed expiration date. If coverage remains active throughout that date, use =IF(TODAY()>D16,"Expired","Active") instead.
Warranty tracking in WPS Spreadsheet

Track Warranty Expiration Dates in WPS Spreadsheet

Use the same IF and TODAY formula in WPS Spreadsheet to calculate warranty status from an expiration-date column. Open an existing Excel workbook or create a new warranty tracker, then fill the formula down for each product.

  1. 1. Open your warranty workbook: Launch WPS Office, choose Open, and select your Excel workbook, or create a new file in WPS Spreadsheet.
  2. 2. Enter expiration dates: Enter a valid warranty expiration date in D16 or your chosen date column. Select the date cells and use Home > Number Format to apply a date format.
  3. 3. Add the status formula: Click a separate status cell, such as E16, type =IF(TODAY()>=D16,"Expired","Active"), and press Enter. Adjust D16 to match your date cell.
  4. 4. Fill down and save: Drag the formula cell's fill handle down to calculate other products' statuses. Use Save As and choose .xlsx if you need to share the workbook with Microsoft Excel users.
Calculate Active or Expired status using IF and TODAY.Open and save Microsoft Excel .xlsx and .xls files.Use a familiar spreadsheet interface to enter dates and copy formulas.Add a blank-date check to keep incomplete warranty records clear.
microsoft office alternative - wps office

Frequently Asked Questions

Is the warranty marked Expired on the expiration date itself?

Yes. =IF(TODAY()>=D16,"Expired","Active") returns Expired when today equals D16. To keep coverage active through the listed date, change >= to >.

Will TODAY update the warranty status automatically at midnight?

Not necessarily. TODAY() updates when the workbook recalculates, not through a guaranteed midnight timer. In Excel desktop, select Formulas > Calculation Options > Automatic; opening the workbook or pressing F9 triggers recalculation.

Why does an empty expiration-date cell show Expired?

In the basic comparison, Excel treats a blank date cell like zero, so today's date is greater than it. Enter =IF(D16="","",IF(TODAY()>=D16,"Expired","Active")) in the status cell to leave missing dates blank.

Why is the formula returning the wrong warranty status?

Check that the formula references the correct expiration-date cell and that your device date is correct. Enter =ISNUMBER(D16) in an unused cell to test the date value. If it returns FALSE for a displayed date, re-enter that date as a recognized date value rather than merely changing its display format.

Can I use this warranty formula in WPS Spreadsheet?

Yes. Open the workbook in WPS Spreadsheet, select the status cell, and enter =IF(TODAY()>=D16,"Expired","Active"). Replace D16 with your expiration-date cell, then drag the fill handle down to apply it to other rows.