Change an Excel SUM Range When Copying a Formula Across Columns
Question details
The user wants a SUM formula to target the appropriate cells when it is copied across columns, while controlling which references change.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A SUM formula needs to be filled across a row so that each copy totals the corresponding column, or a specified range remains fixed.
- Observed behavior
- Relative references change when a formula is copied, while INDIRECT can complicate filling formulas across columns.
Identify the first range to total and whether each copied formula should use its own column or the same fixed range. Check that the destination cells are available for the formulas.
Copy a SUM Formula Using Relative References
Use relative references when each formula should total the corresponding column.
In cell A5, enter =SUM(A1:A4) to total the values in A1 through A4.
Select A5 and drag the fill handle at its lower-right corner across the destination cells. You can also copy A5 and paste it into those cells.
Select B5 and look at the formula bar. It should show =SUM(B1:B4); each copy adjusts its relative column references.

Keep a SUM Range Fixed or Move the Formula
Use absolute references to keep a range fixed when copying, or cut and paste when moving a formula rather than duplicating it.
Fill SUM Formulas Across Columns in WPS Spreadsheets
Use relative references in WPS Spreadsheets to total each column as you fill a formula across, or add dollar signs to keep a range fixed.
- 1. Open your workbook: Open WPS Spreadsheets and select Open to choose your workbook.
- 2. Enter a SUM formula: Select A5 and enter =SUM(A1:A4) to total the first column.
- 3. Fill across: Select A5 and drag its fill handle across the cells where you want corresponding column totals.
- 4. Verify a formula: Select B5 and check the formula bar for =SUM(B1:B4). Use dollar signs, as in =SUM($A$1:$A$4), if the range must remain fixed.

Frequently Asked Questions
Why does my SUM formula change when I copy it?
Excel adjusts relative references based on the new location. For example, copying =SUM(A1:A4) from A5 to B5 changes it to =SUM(B1:B4).
How do I keep the same range in every copied formula?
Add dollar signs to the range in the formula bar, as in =SUM($A$1:$A$4), before copying the formula.
Can I move a formula without copying it?
Select the formula cell, choose Cut, and paste it into the destination. Moving normally preserves its references, though Excel can update references when cells are moved.
Do I need INDIRECT to sum corresponding columns?
Usually not. Enter =SUM(A1:A4) in A5 and fill it across; relative references will adjust for each column.




