Formula Errors

Excel Formula to Check Whether a Task Was Completed on Time

Bushra ParveenBushra Parveen Oct 22, 2026 869 views

Question details

The user needs an Excel formula to compare a task completion date against a specific deadline calculated from an initial start or hire date.

How to Use Excel Formulas to Check If a Task Was Completed on Time
Product
Excel
Device & OS
not provided
Scenario
Tracking employee task completion times against differing deadline rules, such as exactly 90 days or three calendar months.
Observed behavior
Requires a conditional output (like Yes/No) depending on whether the completion date falls within the calculated deadline timeframe.
Before you start

Ensure that your hire dates and completion dates are formatted as actual dates in Excel (not text) so the calculation functions can process them correctly.

Solution 1Recommended

Calculate Deadline Based on Three Calendar Months

Use the EDATE function when your deadline must fall on the exact same day of the month, three months later.

A calendar month calculation means that if the start date is July 18, the deadline will be October 18, regardless of how many exact days are in those months.

1
Select the target cell

Click on the cell where you want the 'Yes' or 'No' result to appear.

2
Enter the EDATE formula

Type the formula =IF(B6<=EDATE(A6,3),"Yes","No"), making sure to replace A6 with the cell containing your hire date, and B6 with the cell containing the completion date.

3
Apply to other cells

Press Enter to see the result, then drag the fill handle down to apply the formula to the rest of your list.

Calculate Deadline Based on Three Calendar Months
Formula Customization: You can change 'Yes' and 'No' to other terms like 'On Time' and 'Late' by simply modifying the text inside the quotation marks.
Track Deadlines Efficiently

Easily Manage Dates and Formulas with WPS Spreadsheet

WPS Office includes a highly capable Spreadsheet application that perfectly supports Excel date functions like EDATE and IF, making it simple to track deadlines and tasks for free.

  1. 1. Open your tracking sheet in WPS Spreadsheet: Launch WPS Office and open your task or employee tracker spreadsheet.
  2. 2. Format your date columns: Highlight your dates, right-click, select 'Format Cells', and ensure the 'Date' format is applied.
  3. 3. Input the conditional formula: Select the status cell and enter your preferred IF and EDATE formula to check the deadline.
  4. 4. Drag to fill: Click and hold the small square at the bottom-right corner of the cell and drag it down to apply the check to all employees.
Fully compatible with all Microsoft Excel date, time, and logical formulas.Lightweight and completely free to use without subscription fees.Clean, intuitive user interface for effortless data tracking and formula building.
QA img-9

Frequently Asked Questions

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

This usually occurs if the start date or completion date is recognized as text instead of a valid date format. Select your date cells, right-click to choose 'Format Cells', and change the format to 'Date'.

How do I calculate a deadline that is 6 months away instead of 3?

You can adjust the months parameter in the EDATE function. Use =EDATE(A6, 6) to calculate a date exactly six calendar months from the date found in cell A6.

Can I leave the cell blank if the task hasn't been completed yet?

Yes, you can nest another IF function to check for a blank completion date. For example: =IF(ISBLANK(B6), "Pending", IF(B6<=EDATE(A6,3), "Yes", "No")).