Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk4 min

What F4 Does in Excel: Repeat Actions and Lock Cell References

Excel F4 can repeat some actions or cycle a selected formula reference. Learn when to use A1, $A$1, $A1, or A$1—and troubleshoot platform and keyboard differences.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Excel’s F4 key has two useful jobs: it can repeat a recent action, and while you edit a formula it can cycle a selected cell reference between relative, absolute, and mixed forms. Which job it performs depends on what you’re doing, and on your platform and keyboard. For formulas, the key is most useful when you know whether the row, column, or both should stay fixed as you copy the formula.

What does F4 do in Excel?

F4 can repeat the last action when that action is repeatable. During formula editing, it can instead change the reference you have selected. These are separate contexts, so pressing F4 does not have one universal result. Microsoft lists F4 for reference cycling in its Excel keyboard-shortcut guide and describes repeating an action in its undo, redo, or repeat guidance.

As an Amazon Associate I earn from qualifying purchases.

Repeat an action

After a simple repeatable action, such as pasting, F4 can apply that action again. Microsoft also documents Ctrl+Y as an alternative for repeating a simple action. Not every command can be repeated, so F4 may do nothing useful after an action Excel cannot repeat. The Repeat command is not on the Quick Access Toolbar by default, but you can add it if you use it often.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

In some Office contexts F4 can also redo after an undo. Treat the result as context-dependent rather than assuming the key always repeats the same kind of operation. Excel for the web has more limited undo and redo options than desktop Office, so desktop instructions may not map exactly to the web app.

#1 Best Overall
Sale
Microsoft Excel Laminated Two-Sided Keyboard Shortcut Guide - Windows Edition
  • Over 215 Microsoft Windows Excel Shortcuts
  • Two-Sided Durable Laminiated Sheet
  • Designed for Excel on a Windows Computer

Change a formula reference

While editing a formula, place the insertion point in or select the cell reference you want to change, then use the reference-switching shortcut for your platform. F4 cycles the selected reference through relative, absolute, and mixed forms. If the reference is not selected during formula editing, the key may act differently or not change it.

How do I use F4 to lock a cell reference?

A reference’s dollar signs determine what remains fixed when you copy a formula. A reference without dollar signs is relative; adding a dollar sign before a column letter fixes that column, and adding one before a row number fixes that row. Microsoft’s formula tips and reference-switching guide explain these forms.

Rank #2
Sale
Microsoft Surface Pro Keyboard with Pen Storage, Compatible with Copilot+ (11th Edition), Surface 9 and 8, Alcantara Material, Black
  • Instant Copilot. Unlock new possibilities with the dedicated Copilot key, which gives you instant access to experiences that can enhance your productivity¹.
  • Enhance your experience With the new microphone mute key and snipping key
  • Full keyboard experience. Features a full mechanical keyset, backlit keys, and a large trackpad for precise navigation and control. Optimal key spacing allows fast, fluid typing.
  • Slim and compact Performs like a traditional, full-size keyboard.
  • Clicks in place instantly Use in combination with the Surface Pro (11th Edition), Pro 9 and Pro 8* kickstand for a perfect laptop experience anywhere.
Reference What stays fixed when copied What changes
A1 Nothing Row and column adjust relative to the destination.
$A$1 Column A and row 1 Nothing; the reference stays on A1.
$A1 Column A Row adjusts.
A$1 Row 1 Column adjusts.

For example, if a formula refers to A1 and you copy it two rows down and two columns right, the reference becomes C3. If it refers to $A$1, it remains $A$1. Mixed references preserve just one part, which is useful when a formula should keep pointing to a header row or label column while the other part follows the copied formula.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose the form before cycling

  • Use A1 when both row and column should move with the formula.
  • Use $A$1 when both should remain fixed, such as a constant stored in one cell.
  • Use $A1 when the column should stay fixed but the row should move.
  • Use A$1 when the row should stay fixed but the column should move.

For example, in =B4*C4, both references are relative and adjust if you copy the formula down. If a tax rate is stored in F1 and should remain the same in every copied formula, the reference to that rate should be $F$1. A formula does not automatically need an absolute reference; lock only the part that must not shift.

Rank #3
Pixiecube Excel Cheat Sheet Desk Pad | Excel Shortcut Keys Mouse Pad | Extended Large XL Gaming Mousepad | PC Office Spreadsheet Keyboard Mat | Non-Slip Stitched Edge
  • EXCEL SHORTCUTS. ZERO SEARCHING. – Our bestselling reference mat puts an extensive collection of commonly used commands, formulas and helpful tricks directly beneath your fingertips so you can find answers fast, work smarter and stay in the flow.
  • YOUR DESK. SMARTER. – Clearly organized sections for navigation, selection, formatting, data and functions make it easy to find the right Excel command exactly when you need it.
  • LEARN, WORK & RESET – Built-in desk-exercise diagrams give you 10 quick ways to stretch, recharge and return to work feeling sharper.
  • ROOM TO WORK & CREATE – The extended 31.5 x 11.8-inch Pixiecube desk mat fits a laptop or keyboard and mouse, while the soft 2 mm surface adds comfort and protects your desktop.
  • BUILT FOR REAL-WORLD WORKDAYS – A rugged stitched edge helps prevent fraying, and the water-resistant, stain-resistant surface protects against scratches, spills and everyday wear—because smarter desks should work harder.

How do I toggle between absolute and relative references?

In desktop Excel for Windows, edit the formula, put the insertion point on or select the reference, and press F4 to cycle its forms. Stop when the dollar signs match the row and column behavior you want. If a range is selected, the shortcut cycles the reference or range form as well. Microsoft’s reference-switching instructions show the behavior.

On Mac, Microsoft’s general keyboard-shortcut page includes platform-specific guidance, while its Mac-specific reference article directs users to Command+T. Because Microsoft’s pages describe the Mac shortcut differently, check the current instructions for your Excel edition rather than assuming F4 or Command+T is universal. The relevant pages are Keyboard shortcuts in Excel and Switch between relative and absolute references.

Rank #4
Sale
Incase Wired Keyboard 600 – Designed by Microsoft – Spill Resistant, Quiet Touch Keys, Plug and Play, 4 Hotkeys, Windows Start Key – Black
  • Efficient Media Controls: The Wired Keyboard 600, designed by Microsoft, features a Media Center with four hot keys for easy control of play/pause, volume up, volume down, and mute functions.
  • Quiet and Responsive Keys: Enjoy a comfortable typing experience with quiet, thin-profile keys that are both responsive and efficient.
  • Convenient Shortcuts: Quickly access common tasks with dedicated shortcut keys, including a calculator hot key and a Windows start screen key.
  • Spill-Resistant Design: Work confidently with a spill-resistant design that protects your keyboard from accidental messes.
  • Plug-and-Play Simplicity: No software needed—just connect the keyboard to your PC and start using it right away, with a full number pad for efficient data entry.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Why is F4 not working in Excel?

Check the context first: reference cycling requires formula editing with the intended reference selected, while repeating requires a last action Excel can repeat. If neither explanation fits, the keyboard may be sending a device function instead of F4.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Select the reference: Edit the formula and place the insertion point on the reference, or select it, before trying the reference shortcut.
  2. Try the keyboard’s function-key modifier: Some keyboards require Fn+F4 or the F-Lock key before F4 sends the standard function-key command. Microsoft notes this possibility in its repeat-action guidance.
  3. Check platform and Excel version: Windows and Mac instructions differ, and Excel for the web has more limited undo and redo behavior than desktop Office. Consult Microsoft’s current shortcut page for the edition you use.
  4. For repeating, test a repeatable action: Some actions cannot be repeated. Try Ctrl+Y for a simple repeat, or add Repeat to the Quick Access Toolbar if that command is useful to your workflow.

A keyboard with an Fn key or an F-Lock key may help only when the keyboard requires that modifier; buying new hardware is not a prerequisite for using Excel’s reference shortcut.

Best Value
SYNERLOGIC Microsoft Word/Excel (for Windows) Reference Guide Keyboard Shortcut Sticker, Laminated, No-Residue Vinyl (White/Small)
  • 💻 ✔️ EVERY ESSENTIAL SHORTCUT - With the SYNERLOGIC Reference Keyboard Shortcut Sticker, you have the most important shortcuts conveniently placed right in front of you. Easily learn new shortcuts and always be able to quickly lookup commands without the need to “Google” it.
  • 💻✔️ Work FASTER and SMARTER - Quick tips at your fingertips! This tool makes it easy to learn how to use your computer much faster and makes your workflow increase exponentially. It’s perfect for any age or skill level, students or seniors, at home, or in the office.
  • 💻 ✔️ New adhesive – stronger hold. It may leave a light residue when removed, but this wipes off easily with a soft cloth and warm, soapy water. Fewer air bubbles – for the smoothest finish, don’t peel off the entire backing at once. Instead, fold back a small section, line it up, and press gradually as you peel more. The “peel-and-stick-all-at-once” method only works for thin decals, not for stickers like ours.
  • 💻 ✔️ Compatible and fits any brand laptop or desktop running Windows 10 or 11 Operating System.
  • 💻 ✔️ Original Design and Production by Synerlogic Electronics, San Diego, CA, Boca Raton, FL and Bay City, MI, United States 2020. All rights reserved, any commercial reproduction without permission is punishable by all applicable laws.

Why F4 can save repetitive work

When copying formulas across rows, columns, or a grid, F4 avoids manually adding or removing dollar signs for each reference. The practical gain is fewer repeated edits and fewer chances to lock the wrong row or column. It is a convenience of the formula mechanics, not a measured time-saving figure, and its benefit depends on the formulas and actions you repeat.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.