Calculation Issues

How to Automatically Calculate Dates and Highlight Deadlines in Excel

Maira MehtabMaira Mehtab Nov 11, 2026 869 views

Question details

The user needs to calculate a deadline by adding 14 days to a received date and apply conditional formatting to highlight dates due within two days for incomplete jobs.

How to Automatically Calculate Required Dates and Highlight Deadlines in Excel
Product
Excel
Device & OS
not provided
Scenario
Tracking project timelines and upcoming deadlines based on received dates and job statuses.
Observed behavior
A need to automatically compute the due date and visually flag urgent items that are not yet marked as completed.
Before you start

Ensure your worksheet is organized with clear columns for 'Date Received', 'Date Required', and 'Job Status', and that the received dates are formatted properly as dates.

Solution 1Recommended

Use Formulas and Conditional Formatting to Track Deadlines

Combine a date addition formula with a logical AND conditional formatting rule to automate your deadline tracking.

By using the IF function, you can automatically calculate a future date based on a starting date. Pairing this with conditional formatting allows you to visually flag tasks that are approaching their deadline and are not yet completed.

1
Calculate the required date

Assuming 'Date Received' is in column A, select cell B2 (under 'Date Required') and enter the formula: =IF(A2<>"",A2+14,""). This adds 14 days to the received date if the cell is not empty.

2
Apply the formula to the column

Click the fill handle at the bottom-right corner of cell B2 and drag it down to fill the formula for the rest of your rows.

3
Set up conditional formatting

Select the range of your required dates (e.g., B2:B100). Go to the Home tab, click 'Conditional Formatting', and select 'New Rule'.

4
Enter the formatting formula

Choose 'Use a formula to determine which cells to format' and enter this formula: =AND(B2<>"",B2-TODAY()<=2,B2-TODAY()>=0,C2<>"Completed"). This checks if the date is within 2 days from today and the job status in column C is not 'Completed'.

5
Choose a highlight color

Click the 'Format' button, go to the 'Fill' tab, select a prominent color like red, and click 'OK' to apply the rule.

Use Formulas and Conditional Formatting to Track Deadlines
Dynamic Updates: Because the formula uses the TODAY() function, your spreadsheet will automatically update the highlighted cells every day you open the file.
Manage Deadlines in WPS Spreadsheet

Calculate Dates and Highlight Deadlines in WPS Spreadsheet

Easily track project timelines and automate your due date calculations using WPS Spreadsheet. It supports all standard Excel date formulas and conditional formatting rules perfectly, allowing you to manage your tasks efficiently.

  1. 1. Open your tracker: Launch WPS Spreadsheet and open your project tracking document.
  2. 2. Enter the date formula: Select the target deadline cell and input the formula =IF(A2<>"",A2+14,"") to calculate the due date.
  3. 3. Create a new formatting rule: Navigate to the Home tab, click 'Conditional Formatting', and select 'New Rule'.
  4. 4. Apply the deadline logic: Select 'Use a formula to determine which cells to format', enter your tracking formula, and set the fill color to red.
Fully compatible with Microsoft Excel formulas and conditional formatting rules.Rich built-in date and time functions for advanced project tracking.Lightweight, fast, and completely free to use for daily spreadsheet tasks.
microsoft office alternative - wps office

Frequently Asked Questions

How can I change the number of days added to the received date?

Simply modify the '+14' in the formula =IF(A2<>"",A2+14,"") to your desired number of days. For example, change it to '+30' if you need a 30-day deadline.

Why is my conditional formatting highlighting empty cells?

This happens if the rule doesn't explicitly check for blank cells. Ensure your conditional formatting formula includes B2<>"" at the beginning of the AND function to ignore empty cells.

Can I highlight overdue dates instead of upcoming ones?

Yes, you can adjust the conditional formatting formula to check if the date has already passed. Use a formula like =AND(B2<>"",B2<TODAY(),C2<>"Completed") to highlight tasks that are overdue.