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.
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. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “set absolute cell reference 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. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. Here is the takeaway for “set absolute cell reference in excel”: copy the answer if you are busy, but if you have a spare few minutes, rebuild the example in Excel yourself with the tool above open beside it. That single pass — type it, run it, watch the result move when you change an input — is what turns a formula you found into a technique you trust. Keep your inputs labelled and referenced, never hard-coded, and the same sheet stays correct and auditable as it grows. Done that way, you will not need to look this up again, and you will be the person others ask.
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.