Blog
How to Copy Formulas in Excel | Fix Errors, Lock Cells with $, Use F4
Mike Yi · Mar 22, 2026If you’ve ever copied a formula in Excel and noticed that the result changed or became incorrect, you’re not alone. Simply dragging a formula can lead to unexpected results, and it’s often difficult to figure out what went wrong.
In most cases, the issue isn’t the copy action itself, but how Excel automatically adjusts cell references. If you don’t fully understand relative references and absolute references, you’ll likely encounter the same errors repeatedly.
In this guide, we’ll walk through the most common Excel formula copy errors, explain why they happen, and show you how to fix them step by step. You’ll learn how to copy formulas without changing values, how to use the $ symbol, and how to apply the F4 shortcut efficiently.
Why Do Excel Formulas Change When Copied?
The main reason results change when you copy a formula in Excel is that relative referencing is applied by default. This means that as the formula is moved, the referenced cell positions also adjust automatically, which can lead to unintended changes in the results.
The Most Common Cause of Formula Errors
Because Excel uses relative references by default, cell references shift based on the formula’s new location. If this behavior is not accounted for, it often results in incorrect or unexpected values.

For example:
Cell D3: =B3*C3
When copied down:
Cell D4: =B4*C4
The problem here is B3. In many cases, this should remain constant, but Excel automatically changes it to B4, B5, and so on. This leads to incorrect results.

To fix this, you need to lock the reference:
=$B$3*C3
Now, no matter where you copy the formula, it will always refer to B3.
Understanding Relative vs Absolute References in Excel
What Is a Relative Reference?
A relative reference changes automatically when you copy a formula.
For example:
=B3*C3 → copied down becomes → =B4*C4
Use relative references when calculations should adjust for each row, such as totals or averages.
What Is an Absolute Reference?
An absolute reference keeps a cell fixed, even when copied.
For example:
=C3*$B$3 → copied down becomes → =C4*$B$3
Use absolute references for fixed values like tax rates, unit prices, or exchange rates.
What Is a Mixed Reference?
A mixed reference locks either the row or the column.
$A1 → column locked
A$1 → row locked

This is useful when working with tables that expand both horizontally and vertically.
How to Use the $ Symbol in Excel Formulas
Understanding the $ Symbol
| A1 | Relative reference |
|---|---|
| $A$1 | Absolute reference |
| $A1 | Column locked |
| A$1 | Row locked |
Before copying a formula, always decide whether a reference should change or stay fixed.
When Should You Use Absolute References?
If a value is used repeatedly across all rows or calculations, it should be locked using $. This simple rule can prevent most formula errors.
Use the F4 Shortcut to Lock Cell References Quickly
How the F4 Key Works
While editing a formula, select a cell reference and press F4 to toggle:
A1 → $A$1 → A$1 → $A1 → A1
Using F4 while writing formulas is much faster and more accurate than fixing errors afterward.
Practical Tip
If you frequently work with formulas, mastering F4 can significantly improve your speed and reduce mistakes.
How to Copy Formulas Correctly in Excel
Common Real-World Example
Scenario: Quantity × Unit Price
Incorrect formula:
=A2*B1 → changes incorrectly when copied
Correct formula:
=A2*$B$1
Copy Without Changing References
Using absolute references ensures consistency.
If you only need final values (for sharing), use Paste as Values to avoid reference issues.
Common Issues When Copying Formulas Across Sheets or Files
Why Sheet References Break
Example:
=Sheet1!A1
If the sheet name changes, the formula breaks. Always check references before renaming sheets.
External File Reference Errors
Example:
=[file.xlsx]Sheet1!A1
If the file name or path changes, Excel cannot find the reference.
For sharing, convert formulas to values to avoid errors.
FAQ: Excel Formula Copy Issues
Q. Why do formulas change when copied in Excel?
Excel uses relative references by default, so cell references shift when copied.
Use $ to lock cells and prevent this issue.
Q. How do I lock only part of a reference?
Use mixed references like $A1 or A$1 depending on whether you want to lock the column or row.
Q. When should I use the F4 shortcut?
Use F4 while entering formulas to quickly switch between reference types and avoid manual errors.
Q. Why do formulas break across sheets or files?
Changes in sheet names or file paths break references. Convert formulas to values when sharing files.
Q. Why do some formulas not copy correctly?
Merged cells, inconsistent data structures, or empty cells can cause issues. Clean data structure is key.
Work Faster with Excel Formula Automation using Cicely AI

Once you understand how to copy formulas in Excel, the next step is reducing repetitive work. Constantly checking $, adjusting ranges, and fixing formulas can slow you down.
inline AI is a desktop-native AI coworker built specifically for Excel. You can simply type commands like "Calculate incentive costs based on headcount ratios," and it will read your spreadsheet, understand the formula structure, and apply changes automatically.
It ranked #1 on SpreadsheetBench with 92% accuracy and runs locally on your PC, ensuring your data remains secure without cloud uploads.
If you're repeatedly spending time copying Excel formulas, use inline AI to reduce repetitive work and focus on more important tasks.
Download your AI Coworker for Excel



