Function Problems

How to Use Excel Formulas for Text or Date-Based Project Priorities

Emma BrownEmma Brown Nov 10, 2026 868 views

Question details

The user needs to create a formula that returns a specific text status (like 'wait') or assigns a priority based on whether a project's target date is text, in the past, today, or in the future.

How to Use Excel Formulas for Text or Date-Based Project Priorities
Product
Spreadsheet
Device & OS
not provided
Scenario
Managing project timelines and automatically assigning priority statuses based on dynamic date conditions or textual inputs.
Observed behavior
A need to return conditional status outputs based on evaluating cells for text formats and comparing date values against the current date.
Before you start

Ensure that your project dates are properly formatted as dates in your spreadsheet, and designate a specific cell (like C2) to hold today's date using the =TODAY() function for accurate comparisons.

Solution 1Recommended

Use the IFS and ISTEXT Functions to Determine Priority

Combine the IFS function with ISTEXT to check for text entries first, then evaluate date differences to assign the correct priority level.

The IFS function evaluates multiple conditions in the order they are written and returns a value corresponding to the first TRUE result.

Using ISTEXT allows the formula to handle cells containing text differently from valid dates, preventing #VALUE! errors during date math calculations.

1
Prepare your reference cells

Set up a reference cell for today's date (e.g., C2) and specific cells containing your priority labels (e.g., H2 for 'Past', H3 for 'Today', H4 for 'Next 3 Days', etc.).

2
Enter the IFS formula

Select the target cell (e.g., K14) where you want the priority status to appear and type the formula: =IFS(ISTEXT(J14),J14,J14<C$2,H$2,J14=C$2,H$3,(J14-C$2)<4,H$4,(J14-C$2)<8,H$5,TRUE,H$6).

3
Apply absolute references

Ensure you use the dollar sign ($) for reference cells (like C$2 and H$2) by pressing F4 so they don't change when you drag the formula down to other rows.

4
Copy the formula

Click the fill handle at the bottom-right corner of cell K14 and drag it down to apply the priority formula to your entire project list.

Use the IFS and ISTEXT Functions to Determine Priority
Formula Breakdown: The condition ISTEXT(J14) checks if the cell is text. J14<C$2 checks if the date is in the past, and (J14-C$2)<4 checks if the deadline is within the next 3 days. TRUE at the end acts as a catch-all for any remaining dates.
Manage Projects Efficiently

Use WPS Spreadsheet for Advanced Data Analysis

WPS Spreadsheet fully supports advanced logical functions like IFS, ISTEXT, and date calculations, making it easy to track project priorities without complex nested IF statements.

  1. 1. Open your project tracker: Launch WPS Spreadsheet and open your existing project management document.
  2. 2. Insert the function: Navigate to the Formulas tab on the top ribbon, click on Logical, and select the IFS function.
  3. 3. Set your conditions: Input the ISTEXT and date comparison conditions in the formula dialog box, then hit Enter to apply the priority logic.
Fully compatible with Microsoft Excel formats (.xlsx, .xls, .csv).Supports over 300 built-in formulas, including advanced logical and date functions for project management.Free to use with a lightweight, tabbed interface for seamless multitasking across documents.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my date subtraction formula return a #VALUE! error?

This usually happens when Excel or WPS Spreadsheet tries to subtract a date from a cell that contains text instead of a valid date. Using the ISTEXT() function at the beginning of your IFS formula intercepts text values before the date math occurs.

Can I use the nested IF function instead of IFS?

Yes, if you are using an older version of Excel that does not support the IFS function, you can write a nested IF statement like =IF(ISTEXT(J14), J14, IF(J14<C$2, H$2, IF(J14=C$2, H$3, ...))).

How do I dynamically update today's date in cell C2?

Select cell C2, type =TODAY(), and press Enter. The cell will now automatically update to the current system date every time you open or recalculate the workbook.

What does the 'TRUE' condition at the end of the IFS formula do?

In an IFS formula, placing TRUE as the final condition acts as a catch-all (or 'else') statement. If none of the previous date conditions are met, it will automatically return the value paired with TRUE.