Function Problems

Understand Dollar Signs in Excel SUM Formulas and Cell References

Nimra MalikNimra Malik Dec 2, 2026 868 views

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.
Before you start

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.

Solution 1Recommended

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.

1
Enter a SUM formula

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.

2
Lock the range

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.

3
Use mixed references

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.

4
Cycle reference types

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.

Keyboard shortcuts can vary: On some keyboards or devices, F4 may require a function-key modifier or a different shortcut. You can also type the dollar signs directly in the formula bar.
Work with formulas in WPS

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. 1. Open your workbook: Open WPS Spreadsheets and use Open to select your workbook.
  2. 2. Enter a SUM formula: Select a cell and type =SUM(A1:A5) in the formula bar.
  3. 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. 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.
Use absolute and mixed references in SUM formulasOpen and edit Microsoft Excel XLSX and XLS filesCopy formulas across or down a worksheet
microsoft office alternative - wps office

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.