Function Problems

How to Add 183 Days to a Date and Apply Conditional Formatting in Excel

Khadija KhanKhadija Khan Oct 19, 2026 870 views

Question details

Calculate a follow-up date by adding 183 days when a specific condition is met, and apply red, yellow, or green conditional formatting based on how close the date is to today.

How to Add 183 Days to a Date and Apply Conditional Formatting in Excel
Product
Excel
Device & OS
not provided
Scenario
Tracking project deadlines or follow-up tasks based on a 183-day or six-month cycle.
Observed behavior
Dynamically displays a future date and highlights it in red, yellow, or green depending on the time remaining compared to the current date.
Before you start

Ensure that the cells containing your original dates are formatted as proper Excel date values and not stored as plain text, otherwise the date math will return errors.

Solution 1Recommended

Use the IF Function and Create Date-Based Conditional Formatting Rules

Use an IF formula to conditionally add 183 days to a date, and apply multiple conditional formatting rules using the TODAY() function to color-code the cell values.

By combining a simple IF statement with basic arithmetic, you can automate date calculations based on another cell's value. Applying conditional formatting with the TODAY() function will ensure the colors update automatically as time passes.

1
Enter the date calculation formula

Click on cell D3 and enter the formula =IF(C3="ED",B3+183,""). This checks if cell C3 contains 'ED', and if so, adds exactly 183 days to the date located in B3.

2
Format the output as a date

Select cell D3, right-click, and choose 'Format Cells'. Go to the Number tab, select 'Date', and click OK. Drag the fill handle at the bottom right of the cell down to apply the formula to the rest of column D.

3
Create the red (overdue or urgent) rule

Select the newly calculated date range in column D. Go to the Home tab and click 'Conditional Formatting', then select 'New Rule'. Choose 'Format only cells that contain', set the first drop-down to 'Cell Value', and the second to 'less than'. Enter =TODAY() in the box, click 'Format', choose a red fill color, and click OK.

4
Create the yellow (upcoming) rule

With the column D range still selected, click 'Conditional Formatting' > 'New Rule' again. Select 'Format only cells that contain', set the condition to 'between', and enter =TODAY() and =TODAY()+60. Click 'Format', choose a yellow fill, and click OK.

5
Create the green (future) rule

Add a final rule by clicking 'Conditional Formatting' > 'New Rule'. Select 'Format only cells that contain', set the condition to 'greater than', and enter =TODAY()+60. Click 'Format', select a green fill color, and click OK.

Use the IF Function and Create Date-Based Conditional Formatting Rules
Using EDATE for Calendar Months: If you want to add exactly six calendar months instead of a strict 183 days, you can substitute the first formula with =IF(C3="ED",EDATE(B3,6),""). This ensures the date aligns exactly 6 months later, regardless of how many days are in each month.
Efficient Spreadsheet Management

Easily Manage Dates and Formatting with WPS Spreadsheet

WPS Spreadsheet fully supports Excel functions like IF, EDATE, and TODAY, along with robust conditional formatting tools to help you track project deadlines visually.

  1. 1. Open your file in WPS Spreadsheet: Launch WPS Office and open the worksheet containing your dates and follow-up data.
  2. 2. Apply the calculation formula: Select your target cell, input the =IF(C3="ED",B3+183,"") formula, and format the cell as a Date.
  3. 3. Set up Conditional Formatting: Highlight the date column, navigate to the Home tab, click 'Conditional Formatting' > 'New Rule', and input your TODAY() parameters to color-code the cells.
100% compatible with Microsoft Excel formulas and formatsIntuitive conditional formatting dialog for easy rule setupFree, lightweight, and fast alternative for daily data management
microsoft office alternative - wps office

Frequently Asked Questions

Why does my date formula return a 5-digit number instead of a date?

Spreadsheet programs store dates as sequential serial numbers for calculation purposes. To view it properly, select the cell containing the 5-digit number, right-click, choose 'Format Cells', and select a 'Date' format.

What is the difference between adding 183 days and using the EDATE function?

Adding +183 directly adds a fixed number of days, which may shift the day of the month slightly depending on month lengths. The EDATE function (e.g., EDATE(cell, 6)) adds exactly 6 calendar months, so the 15th of January becomes the 15th of July.

Why isn't my conditional formatting updating when the day changes?

Conditional formatting using the TODAY() function updates based on the system date when the sheet is recalculated. If your file was left open overnight, press F9 to force a manual recalculation, or close and reopen the workbook.