Automatically Increase Cell References When Copying an Excel Formula
Question details
Copy a formula down a column while automatically increasing its cell references by one row.

- 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.
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.
Fill an Excel Formula Down Using Relative References
Use relative cell references and the fill handle to adjust the referenced rows automatically.
Select cell G3, type =-B2+B3, and press Enter.
Select G3 again and drag the fill handle at the cell's lower-right corner down to G515.
Select G4 and G5 to confirm their formulas are =-B3+B4 and =-B4+B5. G515 should contain =-B514+B515.

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. Open the spreadsheet: Open WPS Office, choose Spreadsheets, and open your workbook.
- 2. Enter the formula: Select G3, type =-B2+B3, and press Enter.
- 3. Fill down: Select G3 and drag the fill handle at its lower-right corner down to G515.
- 4. Verify the results: Select G4 and check the formula bar for =-B3+B4, then save the workbook.

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.




