Function Problems

Excel Formula to Check Absences in a Rolling 12-Month Period

Aamir Naveed AkramAamir Naveed Akram Nov 18, 2026 869 views

Question details

Determine whether any part of an absence falls within the rolling 12-month period ending today.

Check Absences Against a Rolling 12-Month Period in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
The absence start date is in A1, the return-to-work date is in B1, and the absence duration is calculated separately.
Observed behavior
The desired result is Yes when the absence date range overlaps the rolling period and No otherwise.
Before you start

Enter the absence start date in A1 and the return-to-work date in B1 as valid Excel dates, with the return date on or after the start date. The formula treats both dates as inclusive boundaries.

Solution 1Recommended

Use EDATE to Check for an Overlap With the Previous 12 Months

Use this formula when the rolling period begins on the corresponding calendar date 12 months ago.

1
Select a result cell

Click an empty cell, such as C1, next to the absence dates.

2
Enter the overlap formula

In C1, enter =IF(AND(ISNUMBER(A1),ISNUMBER(B1),B1>=EDATE(TODAY(),-12),A1<=TODAY()),"Yes","No") and press Enter.

3
Check the result

Read the result in C1: Yes means the date range overlaps the rolling period; No means it does not or one of the date cells is not numeric.

Use EDATE to Check for an Overlap With the Previous 12 Months
What the formula checks: The formula checks for any overlap, including the date 12 months ago and today. It does not calculate or prorate absence duration within the period.
Calculate rolling absences

Check Rolling 12-Month Absences in WPS Spreadsheet

Use the same date-overlap formula in WPS Spreadsheet to identify absences that fall within the rolling 12 months ending today.

  1. 1. Open your workbook: Open WPS Spreadsheet and use Open to select your Excel workbook, or create a new spreadsheet.
  2. 2. Enter the dates: Enter the absence start date in A1 and the return-to-work date in B1 as valid dates.
  3. 3. Add the formula: Select C1, enter =IF(AND(ISNUMBER(A1),ISNUMBER(B1),B1>=EDATE(TODAY(),-12),A1<=TODAY()),"Yes","No"), and press Enter.
  4. 4. Review the result: Check C1 for Yes or No. For additional rows, copy the formula down the result column.
Check whether any part of an absence overlaps the rolling periodUse familiar date and logical functions such as TODAY, EDATE, and IFOpen and edit Microsoft Excel XLSX and XLS filesWork with a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Does an absence that started more than 12 months ago count?

Yes, if its return-to-work date in B1 is on or after the rolling cutoff and its start date in A1 is no later than today. The formula checks for any overlap.

Why does the formula return No when a date is entered?

Check A1 and B1 for dates stored as text or blank cells. The ISNUMBER checks require both values to be numeric Excel dates.

Does the formula calculate the number of absence days in the period?

No. It returns Yes or No for an overlap; calculating or prorating the duration within the rolling period requires a separate formula.

What is the difference between EDATE(TODAY(),-12) and TODAY()-365?

EDATE finds the corresponding date 12 calendar months ago, while TODAY()-365 subtracts 365 days. The cutoff dates can differ around leap years.