Formula Errors

Automatically Increase Cell References When Copying an Excel Formula

John WilsonJohn Wilson Dec 2, 2026 869 views

Question details

Copy a formula down a column while automatically increasing its cell references by one row.

Automatically Increase Cell References When Copying an Excel Formula
Product
Microsoft Excel
Device & OS
not provided
Scenario
Calculate values in column G using two successive cells in column B, starting with B2 and B3.
Observed behavior
Each copied formula should refer to the next pair of rows, such as B3 and B4, then B4 and B5.
Before you start

Check that column B contains the values you want to calculate and that cells G3 through G515 can be overwritten. Use references without dollar signs so their row numbers can change when the formula is copied.

Solution 1Recommended

Fill an Excel Formula Down Using Relative References

Use relative cell references and the fill handle to adjust the referenced rows automatically.

1
Enter the starting formula

Select cell G3, type =-B2+B3, and press Enter.

2
Fill the formula down

Select G3 again and drag the fill handle at the cell's lower-right corner down to G515.

3
Check the copied references

Select G4 and G5 to confirm their formulas are =-B3+B4 and =-B4+B5. G515 should contain =-B514+B515.

Fill an Excel Formula Down Using Relative References
Keep the references relative: Dollar signs can lock a column or row. The formula =-B2+B3 does not need a semicolon.
Calculate with WPS Spreadsheets

Fill Down Relative Formulas in WPS Spreadsheets

Use WPS Spreadsheets to enter the formula and fill it down; relative references update automatically in each row.

  1. 1. Open the spreadsheet: Open WPS Office, choose Spreadsheets, and open your workbook.
  2. 2. Enter the formula: Select G3, type =-B2+B3, and press Enter.
  3. 3. Fill down: Select G3 and drag the fill handle at its lower-right corner down to G515.
  4. 4. Verify the results: Select G4 and check the formula bar for =-B3+B4, then save the workbook.
Automatically increments relative cell references when filling downOpens and saves Microsoft Excel XLSX and XLS filesProvides familiar spreadsheet editing toolsOffers a free way to work with spreadsheets
QA img-9

Frequently Asked Questions

Why do the row numbers change when I copy the formula?

B2 and B3 are relative references. When you copy the formula down one row, Excel adjusts them to B3 and B4.

What if a cell reference stays the same when I fill down?

Select the formula cell and check the formula bar for dollar signs. A reference such as $B$2 is locked; use B2 if both its row and column should adjust.

Can I fill the formula down without dragging?

Enter the formula in G3, select G3 through G515, and use Home > Fill > Down. Excel copies the top formula into the selected cells and adjusts relative references.

What does =-B2+B3 calculate?

It subtracts the value in B2 from the value in B3. No semicolon is needed in this formula.