Function Problems

How to Increase Excel Column References by Two Columns with Autofill

Huda QurayshiHuda Qurayshi Nov 10, 2026 869 views

Question details

The user needs to sum pairs of columns across a dataset and automatically advance the column references by two (e.g., D:E, then F:G) when applying a formula horizontally.

How to Increase Excel Column References by Two Columns with Autofill
Product
Excel
Device & OS
not provided
Scenario
Filling a formula horizontally across cells while grouping and summing the source data in pairs of columns.
Observed behavior
Standard autofill shifts column references by one column at a time instead of pairs, requiring a specific dynamic array formula to achieve the desired two-column grouping.
Before you start

Ensure you are using a modern spreadsheet version that supports dynamic array functions, as older versions may require complex volatile functions like OFFSET.

Solution 1Recommended

Use Dynamic Array Functions (WRAPROWS, BYROW, TRANSPOSE)

This is the most efficient method to dynamically group and sum adjacent pairs of columns without relying on manual adjustments or volatile formulas.

By combining WRAPROWS to structure the data, BYROW to calculate the sum, and TRANSPOSE to reorient the results, you can automate the process completely in modern spreadsheet software.

1
Select the destination cell

Click on the cell where you want the first summed result of your column pairs to appear.

2
Input the dynamic array formula

Type the formula =TRANSPOSE(BYROW(WRAPROWS(D3:S3,2),SUM)) into the formula bar. Make sure to adjust the range D3:S3 to match the actual source range of your data.

3
Apply the formula

Press Enter. The dynamic array will automatically calculate and spill horizontally, filling the adjacent cells with the sums of each consecutive column pair.

Use Dynamic Array Functions (WRAPROWS, BYROW, TRANSPOSE)
Formula Breakdown: WRAPROWS groups your single-row data into two-column pairs, BYROW applies the SUM function to each newly created pair, and TRANSPOSE flips the vertical results back into a horizontal row.
Advanced Spreadsheet Features

Sum Column Pairs Effortlessly with WPS Spreadsheet

WPS Spreadsheet fully supports advanced dynamic array functions, making it simple to manipulate, group, and analyze large datasets without relying on complex manual workarounds.

  1. 1. Open your dataset: Launch WPS Office and open your workbook in WPS Spreadsheet.
  2. 2. Enter the formula: Click on your target cell and input the =TRANSPOSE(BYROW(WRAPROWS(range,2),SUM)) formula.
  3. 3. Get automatic results: Press Enter to instantly calculate and spill the paired column sums horizontally across your sheet.
Fully compatible with Microsoft Excel formulas and functionsSupports modern dynamic arrays like TRANSPOSE, BYROW, and WRAPROWSLightweight, fast, and free to use for daily data analysis
microsoft office alternative - wps office

Frequently Asked Questions

Why does normal autofill only advance by one column?

By default, Excel increments relative cell references by exactly one row or column for each cell you drag the fill handle across. To jump by two, you must use mathematical offsets or dynamic arrays to redefine how the data is grouped.

Can I use the OFFSET function to increase column references by two?

Yes, you can use a combination of SUM, OFFSET, and COLUMN functions to achieve this in older versions of Excel that lack dynamic arrays. However, OFFSET is a volatile function that recalculates constantly, which can slow down performance on large sheets.

How do I group columns by three instead of two?

You can easily modify the dynamic array formula by changing the second argument in the WRAPROWS function. For example, use =TRANSPOSE(BYROW(WRAPROWS(D3:S3, 3), SUM)) to sum columns in groups of three.