Understand Dollar Signs in Excel SUM Formulas and Cell References
Question details
Understand how dollar signs control cell references in Excel SUM formulas when formulas are copied or filled.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to copy or fill SUM formulas while controlling which rows and columns change.
- Observed behavior
- References can be relative, absolute, or mixed so that the intended rows and columns remain fixed or adjust when a formula is copied.
Identify the cells you want to sum and decide whether their row numbers, column letters, or both should stay fixed when the formula is copied.
Choose the right reference type in an Excel SUM formula
Use relative, absolute, or mixed references to control how a SUM range changes when you copy a formula.
A1 is relative, so both the row and column can change. $A$1 is absolute, so neither changes. A$1 locks only the row, while $A1 locks only the column.
Select a cell and enter =SUM(A1:A5) to sum a relative range. When copied, both endpoints adjust based on the formula's new position.
In the formula bar, change the formula to =SUM($A$1:$A$5) to keep both endpoints fixed when you copy or fill the formula.
In the formula bar, use A$1 to lock row 1 while allowing the column to change, or $A1 to lock column A while allowing the row to change.
While editing a formula in Excel, select a cell reference and press F4 to cycle through relative, absolute, and mixed forms. Then copy the formula to another cell to check the result.
Use Fixed Cell References in WPS Spreadsheets
Enter dollar signs in WPS Spreadsheets SUM formulas to lock rows, columns, or entire ranges when copying formulas.
- 1. Open your workbook: Open WPS Spreadsheets and use Open to select your workbook.
- 2. Enter a SUM formula: Select a cell and type =SUM(A1:A5) in the formula bar.
- 3. Add dollar signs: Edit the formula to =SUM($A$1:$A$5) to lock the range, or use mixed references such as A$1 or $A1 where needed.
- 4. Copy and check: Copy the formula cell and paste it into another cell, then select the pasted cell to check its references in the formula bar.

Frequently Asked Questions
What does $A$1 mean in an Excel formula?
It is an absolute reference: both column A and row 1 stay fixed when you copy or fill the formula.
What is the difference between A$1 and $A1?
A$1 locks row 1 but allows the column to change. $A1 locks column A but allows the row to change when the formula is copied.
How do I keep a SUM range from changing when I copy it?
Add dollar signs to both endpoints in the formula bar, for example, =SUM($A$1:$A$5).
How can I add dollar signs without typing each one?
In Excel, edit the formula, select a cell reference, and press F4 to cycle through reference types. Some keyboards may require a function-key modifier.




