In Excel: put a $ before the column letter and/or the row number to lock that part when the formula is copied — =$A$1 locks both, and the fastest way to add them is to press F4 while editing the reference.
On this page7
Click into the cell and start editing the formula.
Select the reference you want to anchor (e.g. F1).
Press F4 to insert the dollar signs — once for $F$1, again for F$1, again for $F1.
Press Enter, then fill the formula down or across; the anchored part stays fixed.
What this does
A dollar sign anchors part of a cell reference so it does not shift when you copy or fill the formula. =$A$1 is fully absolute (both column and row are locked). =A$1 and =$A1 are mixed references that lock only one part — the row in =A$1, the column in =$A1. =A1 with no dollar signs is relative and adjusts freely. Pressing F4 while a reference is selected in the formula bar cycles it A1 → $A$1 → A$1 → $A1 → A1, so you rarely type the dollar signs by hand. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “anchor a cell in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a layout choice that keeps the sheet readable and sortable useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
=B2*$F$1 multiplies each row's value in column B by the single tax rate stored in F1. When you fill it down, B2 becomes B3, B4 and so on, but $F$1 stays put — every row keeps pointing at the one rate cell instead of drifting to F2, F3. Anchoring references is what lets one tested formula fill across hundreds of rows without the rates, totals or lookup tables it depends on sliding out of place. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “anchor a cell in excel” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.
Common mistakes
- Leaving a lookup table, rate or assumption relative, so it drifts off-target when you fill down.
- Locking both parts (
$A$1) when you only needed to lock the column or the row. - Typing the dollar signs in the wrong place — $ goes before the part you want to freeze, not after.
- Forgetting that on a Mac you may need fn+
F4or Cmd+T depending on the keyboard.
Frequently asked questions
What does the dollar sign do in an Excel formula?
It locks the column ($A1), the row (A$1), or both ($A$1) so that part does not change when the formula is copied.
What is the shortcut for an absolute reference?
Select the reference while editing and press F4. On a Mac use F4, fn+F4, or Cmd+T depending on your keyboard.
What is the difference between absolute and mixed references?
Absolute ($A$1) locks both column and row; mixed locks only one — $A1 keeps the column, A$1 keeps the row.
Other ways people ask this
On the way here you may have searched this as “excel anchor cell”, “how do you anchor a cell in excel” and “how to anchor cells in excel” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel anchor cell”, “how do you anchor a cell in excel”, “how to anchor cells in excel” all point at the one operation explained on this page, which is why they all lead here.