Calculation Issues

How to Average Every Six Rows by Date in Excel

Rana GarciaRana Garcia Nov 11, 2026 870 views

Question details

The user needs to calculate an average for consecutive six-row groups of data and place each result next to a matching date for an entire year, avoiding manual formula adjustments.

How to Average Every Six Rows by Date in Excel
Product
Excel
Device & OS
not provided
Scenario
Summarizing high-frequency tracking data (such as measurements taken every 4 hours, equaling 6 rows per day) into a daily average beside a list of calendar dates.
Observed behavior
Using the standard drag-down autofill feature only advances the referenced data range by one row at a time, instead of jumping by the required six rows for the next daily average.
Before you start

Ensure your source data is sorted chronologically and does not contain any unexpected blank rows. Identify the exact starting cell of your data column before applying the formulas.

Solution 1Recommended

Use the OFFSET Function to Dynamically Adjust the Range

The OFFSET function is highly effective for dynamically shifting a calculation range by a specified multiple of rows, allowing you to easily drag the formula down for the whole year.

By combining the AVERAGE function with OFFSET and ROW, you can instruct Excel to skip exactly six rows for every one cell you drag the formula down.

1
Locate Your Starting Data

Identify the first cell containing the data you want to average. For this example, assume your numerical data starts in cell B2.

2
Input the Dynamic OFFSET Formula

Click the cell beside your first date (e.g., D2) and enter the formula: =AVERAGE(OFFSET($B$2, (ROW(A1)-1)*6, 0, 6, 1)).

3
Apply and Fill Down

Press Enter to calculate the first daily average. Select the cell, click the small square at the bottom-right corner, and drag it down the column. The (ROW(A1)-1)*6 component will automatically increment, jumping the reference by 6 rows each time.

Use the OFFSET Function to Dynamically Adjust the Range
Formula Breakdown: In the OFFSET formula, '0' means no column shift, '6' is the height of the range to average, and '1' is the column width.
Advanced Data Analysis in WPS Spreadsheet

Calculate Dynamic Averages Easily with WPS Office

WPS Spreadsheet fully supports advanced dynamic formulas like OFFSET and INDEX, allowing you to seamlessly summarize high-frequency datasets into daily averages. Enjoy a familiar interface and robust calculation features without any subscription fees.

  1. 1. Open Your Data: Launch WPS Spreadsheet and open your existing dataset containing the high-frequency measurements.
  2. 2. Enter the Formula: Click the target cell next to your date column and input the dynamic OFFSET or INDEX average formula.
  3. 3. Drag to Autofill: Hit Enter and use the fill handle to drag the formula down to automatically average all six-row intervals.
Full support for OFFSET, INDEX, and dynamic array formulas to manage large data groupings.100% compatibility with Microsoft Excel formats (.xlsx, .xls, .csv).Lightweight software architecture that handles thousands of rows quickly without lagging.Free to use with a highly intuitive, user-friendly interface.
microsoft office alternative - wps office

Frequently Asked Questions

Can I adapt this formula to average every 12 rows instead of 6?

Yes. To average a different number of rows, replace all instances of the number 6 in the OFFSET or INDEX formula with your desired number (e.g., 12). For OFFSET, update the multiplier and the height parameter.

Why does standard dragging not work for creating interval averages?

When you drag a standard AVERAGE formula down by one row, Excel automatically adjusts the relative cell references by exactly one row. To make the reference 'jump' by multiple rows, you must use mathematical adjustments combined with functions like OFFSET, INDEX, or INDIRECT.

What does ROW(A1) do in these formulas?

ROW(A1) acts as a counter that starts at 1. As you drag the formula down to the next row, it becomes ROW(A2) which equals 2, then ROW(A3) which equals 3, and so on. This incrementing number is multiplied by your interval size to calculate exactly how many rows to shift.