How to Find Overdue Expense Reports in Excel Using Formulas
Question details
The user needs to automatically identify expense card reports that are 30, 60, or 90 days overdue without manual data entry or relying on complex VBA macros.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Tracking and categorizing overdue expense reports automatically based on their respective due dates.
- Observed behavior
- Looking for an automated, formula-based method using Excel functions or formatting to display records in 30-, 60-, and 90-day overdue categories as an alternative to using macros.
Ensure your expense report data contains a column with valid dates. Standardizing your date formats will prevent calculation errors when using time-based spreadsheet functions.
Calculate Overdue Days and Use the FILTER Function
Use Excel's TODAY and FILTER functions to dynamically extract records that meet specific overdue thresholds without requiring a macro.
While macros (VBA) can automate complex tasks, they are often unnecessary for date calculations. Excel formulas are highly efficient for categorizing data into 30-, 60-, and 90-day overdue buckets natively.
Create a new column to calculate the days overdue. Assuming the due date is in cell A2, enter the formula =MAX(0,TODAY()-A2).
Drag the fill handle down to apply this formula to all rows in your dataset to instantly see the number of days each report is overdue.
To display a dynamic list of reports overdue by 30 days or more, use the FILTER function in a new area. Enter =FILTER(A2:D100,(TODAY()-B2:B100)>=30,"No overdue reports") making sure to adjust the ranges to match your data.
Change the >=30 condition to >=60 or >=90 to create separate filtered lists for different overdue categories.

Highlight Overdue Reports Using Conditional Formatting
Apply color codes to overdue dates to visually identify expense reports that have passed their 30, 60, or 90-day deadlines in your main table.
Easily Track Overdue Reports with WPS Office
WPS Office provides powerful built-in functions like FILTER, TODAY, and Advanced Conditional Formatting. You can seamlessly calculate and track overdue expense reports with exactly the same formulas used in Excel, without writing any macros.
- 1. Open your report data: Launch WPS Spreadsheet and open your existing expense report document.
- 2. Input the calculation formula: Select the cell where you want to calculate overdue days and input =MAX(0,TODAY()-A2).
- 3. Apply across the column: Use the drag handle on the bottom-right corner of the cell to apply the formula across your entire data column.
- 4. Set conditional formats: Navigate to Home > Conditional Formatting to quickly apply custom color scales based on the 30, 60, and 90-day thresholds.

Frequently Asked Questions
Why is my TODAY function not updating automatically?
The TODAY function updates when the workbook recalculates. If it's not updating automatically when a new day starts, check your Calculation Options under the Formulas tab and ensure it is set to 'Automatic' rather than 'Manual'.
Can I use a Pivot Table instead of formulas to group overdue dates?
Yes, you can create a Pivot Table, add the due dates to the Rows area, and use the 'Group' feature to organize the dates into 30-day intervals. However, formulas like FILTER provide a more dynamic, real-time list directly on the worksheet.
Does the FILTER function work in older versions of Excel?
The FILTER function is available in Excel 365, Excel 2021, and modern spreadsheet applications like WPS Office. If you are using an older version of Excel, you may need to use a complex INDEX/MATCH array formula or rely on the Advanced Filter tool instead.
How do I exclude weekends when calculating overdue days?
To calculate only business days overdue, replace the simple subtraction with the NETWORKDAYS function. For example, use =NETWORKDAYS(A2, TODAY()) to find the exact number of working days between the due date and today's date.




