Sub topic 3
Anchoring References and Bounding Ranges
Assume you can enter Excel formulas, use relative and absolute references, and read a simple financial statement or budget. This chapter focuses on how references behave when you copy formulas across rows and columns.
Why references matter in financial models
A cell reference tells Excel where to get a value. A relative reference changes when you copy a formula. An absolute reference stays fixed. A mixed reference fixes either the row or the column.
For example:
| Reference | When copied right | When copied down |
|---|---|---|
| `A5` | Changes to `B5` | Changes to `A6` |
| `$A$5` | Stays `$A$5` | Stays `$A$5` |
| `$A5` | Stays in column A | Changes to `$A6` |
| `A$5` | Changes to `B$5` | Stays in row 5 |
Financial models often copy one formula across periods and down account rows. Mixed references let one formula adapt in the intended direction.
Anchor the criteria and period headers
Suppose a roll-up has account names in column A, month-start dates in row 3, and source data on the Data sheet. The amount is in column F, the account is in column B, and the transaction date is in column D.
=SUMIFS(Data!$F$2:$F$5000,Data!$B$2:$B$5000,$A5,Data!$D$2:$D$5000,">="&C$3,Data!$D$2:$D$5000,"<="&EOMONTH(C$3,0))The reference $A5 keeps the account column fixed while allowing the row to change. When copied down, it becomes $A6, $A7, and so on.
The reference C$3 keeps the month header row fixed while allowing the column to change. When copied right, it becomes D$3, E$3, and so on.
The source ranges use absolute references. They must continue pointing to the same source columns and rows after the formula is copied.
Use bounded ranges deliberately
A bounded range has a clear first and last row, such as $F$2:$F$5000. Every range in a SUMIFS formula should cover the same rows. For example, the amount, account, and date ranges above all run from row 2 through row 5000.
Unbounded references such as F:F are convenient, but they can make large workbooks slower and can hide accidental data outside the intended model area. A range that is too short silently excludes new transactions. A range that is too broad may include headers, notes, or unrelated data.
Excel Tables are often safer for growing ledgers. A table column expands when new rows are added, while retaining a clear meaning. Named ranges can also improve readability, but inspect their definitions before relying on them.
Trace the movement before copying
Use this sequence:
- Write the formula in the first account and first month cell.
- Check that the account reference points to the intended row.
- Check that the month reference points to the intended header.
- Copy the formula down and right.
- Inspect the final formulas at the bottom and right edge.
- Confirm that all source ranges remain aligned and bounded.
A common error is fixing too much. If you use $A$5 for the account label, every copied row uses the first account. Another error is fixing too little. If you use A5 and copy right, the account criterion shifts into column B.
Exercise
In a formula copied across months and down accounts, which reference keeps the account column fixed while allowing the account row to change?
Show answer
$A5. The dollar sign fixes column A, while the row number remains relative.