How to Average Weekly Totals Across Monthly Excel Sheets Up to Today
Question details
Calculate an average of weekly totals stored across multiple monthly worksheets while dynamically excluding dates after today.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Averaging weekly totals spread across separate monthly worksheets without including future empty rows that improperly lower the calculated result.
- Observed behavior
- Future, empty sheets and rows are being included in the standard average calculation, skewing the overall average downward.
Ensure your date formatting is consistent across all monthly sheets and identify the exact cell ranges containing your dates and weekly totals.
Use AVERAGE and IF Functions Across Multiple Sheets
Apply a combined AVERAGE and IF formula to filter out future dates and calculate the average for the valid totals across a fixed set of monthly sheets.
By nesting the IF function within the AVERAGE function, you can set a condition that only includes data up to the current date. This requires manually referencing each monthly sheet in your workbook.
In older versions of Excel that do not support dynamic arrays natively, you may need to enter this formula as an array formula.
Click on the cell where you want the final average to be displayed.
Type the formula combining AVERAGE and IF. For example: =AVERAGE(IF('June 2024'!A1:A100<=TODAY(),'June 2024'!D1:D100),IF('July 2024'!A1:A100<=TODAY(),'July 2024'!D1:D100)). Adjust the sheet names and cell ranges according to your workbook structure.
Press Enter to calculate. If you are using an older version of Excel, you must press Ctrl+Shift+Enter to evaluate the array formula correctly.

Consolidate Data into an Excel Table and Use AVERAGEIFS
Store all monthly data in one master Excel Table and use the AVERAGEIFS function for a cleaner, more maintainable calculation.
Perform Complex Cross-Sheet Calculations with WPS Spreadsheet
WPS Spreadsheet fully supports advanced array formulas and cross-sheet calculations like AVERAGE, IF, and AVERAGEIFS, allowing you to manage multi-sheet data seamlessly.
- 1. Open your workbook: Launch WPS Spreadsheet and open your multi-sheet workbook containing the monthly totals.
- 2. Select the destination cell: Click the cell where you wish to calculate the up-to-date average.
- 3. Input the array formula: Type your combined AVERAGE and IF formula to filter out future dates, e.g., =AVERAGE(IF('Sheet1'!A1:A100<=TODAY(),'Sheet1'!D1:D100)).
- 4. Calculate the result: Press Enter to execute the calculation instantly and accurately across your desired sheets.

Frequently Asked Questions
Why does AVERAGE include empty cells in Excel calculations?
By default, the AVERAGE function ignores truly blank cells. However, if a cell contains a zero (0) or a formula that returns an empty string (""), it will be factored into calculations and can skew your results. Conditional formulas help filter these out.
Can I use AVERAGEIFS across multiple sheets directly?
No, AVERAGEIFS is designed to work on a single contiguous range or table. To calculate averages with conditions across multiple sheets, you must nest AVERAGE and IF functions or consolidate your data into a single master table.
What does the TODAY() function do in an Excel formula?
The TODAY() function automatically returns the current system date. In conditional formulas, it acts as a dynamic filter to include or exclude data based on whether its associated date occurs before, on, or after the present day.




