Calculation Issues

How to Average Weekly Totals Across Monthly Excel Sheets Up to Today

Jason MillerJason Miller Nov 10, 2026 868 views

Question details

Calculate an average of weekly totals stored across multiple monthly worksheets while dynamically excluding dates after today.

How to Average Weekly Totals Across Multiple Monthly Sheets Up to 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.
Before you start

Ensure your date formatting is consistent across all monthly sheets and identify the exact cell ranges containing your dates and weekly totals.

Solution 1Recommended

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.

1
Select the target cell

Click on the cell where you want the final average to be displayed.

2
Enter the combined formula

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.

3
Confirm the formula

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.

Use AVERAGE and IF Functions Across Multiple Sheets
Dynamic Array Support: Microsoft 365 and newer versions handle array formulas automatically by just pressing Enter. Older versions require the Ctrl+Shift+Enter keystroke, which wraps the formula in curly braces {}.

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. 1. Open your workbook: Launch WPS Spreadsheet and open your multi-sheet workbook containing the monthly totals.
  2. 2. Select the destination cell: Click the cell where you wish to calculate the up-to-date average.
  3. 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. 4. Calculate the result: Press Enter to execute the calculation instantly and accurately across your desired sheets.
100% compatible with Microsoft Excel formulas and functionsEasily handle complex array formulas across multiple sheetsFree, lightweight, and fast spreadsheet processingFamiliar tabbed interface requiring no new learning curve
microsoft office alternative - wps office

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.