How to Use Excel Conditional Formulas to Change Text Based on Dates
Question details
The user wants to use an Excel formula to dynamically display 'INTERRED' instead of 'ASSIGNED' if a related cell contains a valid date.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Creating dynamic status text based on date entries in another cell.
- Observed behavior
- The target cell currently does not automatically switch between 'ASSIGNED' and 'INTERRED' when a date is added.
Ensure that the cells containing dates are formatted correctly as 'Date' or numerical values, as text-formatted dates will not trigger number-checking formulas accurately.
Use the IF and ISNUMBER Functions Combined
Combine IF and ISNUMBER functions to check if a specific cell contains a date (which Excel reads as a number) and output the desired text.
In Excel, dates are stored as sequential serial numbers. By utilizing the ISNUMBER function, you can accurately detect whether a valid date exists in a cell. Wrapping this within an IF function allows you to switch the output text dynamically.
Click on the cell where you want the conditional text to appear.
Type the formula: =CONCATENATE("OWNER:", LOT!B8, IF(ISNUMBER(LOT!D8), " INTERRED:", " ASSIGNED:"), LOT!C8)
Replace 'LOT!D8' with the cell reference that contains the date. Adjust 'LOT!B8' and 'LOT!C8' to match your specific spreadsheet data ranges.
Press the Enter key to apply the formula. The cell will now display 'INTERRED' if there is a date in D8, and 'ASSIGNED' if it is blank or non-numeric.

Alternative: Use IF and ISBLANK Functions
If your date cell is completely empty when unassigned, you can use the ISBLANK function to trigger the status change.
Easily Manage Conditional Formulas in WPS Spreadsheet
WPS Spreadsheet fully supports advanced mathematical and logical functions including IF, ISNUMBER, and CONCATENATE. You can use the same formulas to automate text changes without modifying your daily workflow.
- 1. Open your file in WPS: Launch WPS Office and open your existing spreadsheet.
- 2. Enter the conditional formula: Select the target cell and paste your IF and ISNUMBER formula into the formula bar.
- 3. Save your work: Press Enter to execute the formula, and save the document as an .xlsx file to retain full cross-platform compatibility.

Frequently Asked Questions
Why isn't the ISNUMBER function recognizing my date?
Excel might be reading your date as text rather than a numerical value. Try re-entering the date or converting the cell format to 'Date' by right-clicking the cell and selecting 'Format Cells'.
Can I use the IF function to return an empty cell instead of text?
Yes, you can return a blank cell by using double quotation marks with nothing inside them for the false condition. For example: =IF(ISNUMBER(D8), "INTERRED", "").
What if I need to check multiple conditions before changing the text?
You can use the IFS function or nest multiple IF statements together to evaluate several cells or conditions before outputting your final text result.




