Excel Shortcut to Enter a Cell: F2, Enter, and More Explained

How-to basics · Updated November 2, 2026

Excel Shortcut to Enter a Cell: F2, Enter, and More Explained

If you mean “enter” or edit the contents of the selected cell, press F2 in Excel for Microsoft 365 on Windows; to enter a new value in a selected cell, start typing and press Enter to commit it. These are different actions: F2 edits what is already there, while Enter confirms an entry and usually moves the selection down.

What “enter a cell” can mean

The phrase “enter a cell” is used for several different spreadsheet tasks, so there is not one shortcut for every meaning. You might want to open a cell for editing, put a new value into it, confirm a value you have typed, or jump to a cell elsewhere in the worksheet. Picking the right action avoids overwriting data or moving the selection somewhere unexpected.

For the most common meanings, use these shortcuts and actions:

  • Edit the selected cell: press F2 on Windows. On a Mac, use Control+U.
  • Enter a new value in a selected cell: type the value, then press Enter on Windows or Return on a Mac.
  • Commit an entry without moving to another cell: press Ctrl+Enter on Windows. On a Mac, use Control+Return.
  • Go to a cell by address: press Ctrl+G or F5 on Windows, type an address such as D25, and press Enter.

These distinctions matter because pressing a letter or number while a cell is selected normally starts a new entry. It does not insert that character into the middle of the cell’s existing contents. F2 is the shortcut for editing those existing contents.

How F2 edits the active cell

The active cell is the currently selected cell, usually outlined with a border. Pressing F2 puts Excel into edit mode for that cell. If the cell contains text, the insertion point appears within the text so you can make a correction. If it contains a formula, you can edit the formula directly in the cell or in the formula bar.

For example, if B4 contains the text Quarterly total, select B4 and press F2. You can then revise the text without replacing the whole cell. If B4 contains a formula, F2 lets you change the formula’s characters or references. When the edit is complete, press Enter to save it; press Esc to cancel the current edit and restore the cell’s previous contents.

F2 is useful when you need a small correction, such as changing a date label or adjusting a formula reference. It is not required to enter new content into an empty cell. Select the blank cell, type, and confirm the entry. If F2 seems to do nothing, check that a worksheet cell is selected and that Excel has focus; a dialog box, another application, or a laptop’s function-key setting may change what the key does.

Entering and committing a new value

To put a value into a blank cell, select it and begin typing. Excel displays the characters in the cell and in the formula bar as you enter them. Press Enter to commit the value. You can enter text, numbers, dates, or a formula beginning with an equals sign. Excel interprets many entries according to the cell’s format and the workbook’s regional settings, so a date or decimal separator may display differently from what you typed.

There are two stages to keep in mind: typing starts an entry, and Enter confirms it. Before confirmation, you can correct the text with Backspace or use the arrow keys to move within the entry. Pressing Esc cancels the uncommitted entry. After you press Enter, the value is stored in the cell and Excel exits edit mode.

For example, select C3, type North, and press Enter. C3 now contains North, and Excel normally selects C4 next. To replace an existing value rather than edit it character by character, select the cell and simply type the replacement. Use F2 when you want to preserve and modify the existing contents instead.

What Enter does after an entry

Enter usually commits the current entry and moves the selection one cell down. The movement is a default behavior, not a requirement that you continue entering data vertically. You can change the direction Excel moves after pressing Enter in its options. In Windows Excel, open File > Options > Advanced, find the editing options, and change the setting for moving the selection after pressing Enter. You can choose a direction or turn that movement off.

Even without changing the setting, you can commit an entry and move in another direction with a different key. Tab commits the entry and moves one cell to the right. Shift+Tab moves one cell to the left, while Shift+Enter moves one cell up. These alternatives are handy when entering a row of labels or values and can be quicker than repeatedly moving the selection with the mouse.

Movement is based on the worksheet grid, not necessarily on the next visually filled cell. For instance, pressing Enter in D8 normally selects D9 even if D9 is blank and data appears elsewhere. If you are working in a filtered list or a selected range, the movement can feel less obvious, so check the cell outline before typing again.

Entering the same value in several cells

If you need the same entry in multiple cells, select the target cells, type the value, and use Ctrl+Enter on Windows. Excel puts that entry into every selected cell rather than committing it only to the active cell. In a noncontiguous selection, the same entry is applied to each selected area as well. On a Mac, the corresponding shortcut is Control+Return.

For example, select A2:A6, type Pending, and press Ctrl+Enter. Each of the five selected cells receives Pending. This can save time when applying a status, a constant, or the same formula pattern to a group of cells. Take care with the selection: a mistaken range means the entry will be repeated in the wrong cells.

Ctrl+Enter is distinct from pressing Enter. Enter confirms the entry and ordinarily moves the active selection; Ctrl+Enter fills the selected cells with the entry. If you want to fill a large or irregular selection, verify the highlighted cells before using the shortcut. If the selected cells already contain information, the new entry replaces their previous contents.

Jumping to a cell by its address

Sometimes “enter a cell” means navigate to a particular cell rather than edit it. On Windows, press Ctrl+G or F5 to open the Go To dialog, enter a cell address such as D25, and press Enter. Excel selects D25 without changing its contents. This is useful in a large worksheet when scrolling would take longer.

You can also use the Name Box, the small box to the left of the formula bar that normally displays the selected cell’s address. Click it, type an address such as D25, and press Enter. The Name Box can also take a range address, such as A1:C10, to select a range. Neither navigation method puts the cell into edit mode; once you arrive, press F2 to edit its contents or start typing to replace them.

Be precise about worksheet names and addresses when using Go To. If you need a cell on another sheet, you can enter a reference such as Sales!D25 when the sheet name has no spaces. A sheet name containing spaces needs single quotes around the name, as in ‘Annual Sales’!D25. Go To is for moving the selection, not for entering a formula or changing the workbook’s data.

Editing formulas and text inside a cell

F2 is particularly helpful for formulas because it lets you inspect and adjust a formula without retyping the entire expression. After selecting a formula cell and pressing F2, you can move through the formula and change a reference, operator, or value. Press Enter to commit the revised formula. Press Esc if you decide not to keep the edit.

There is an important difference between editing a formula and replacing it. If a cell containing =A1+B1 is selected and you start typing, your new typing replaces the formula. If you press F2 first, you can instead change part of the existing formula. This is a frequent source of accidental data loss: typing directly into a selected cell is replacement, not insertion into its current contents.

You can also double-click a cell to edit it, or click in the formula bar after selecting the cell. Those mouse methods lead to the same general task as F2, though the insertion point may be positioned differently. For a quick keyboard workflow, select the cell, press F2, make the change, and press Enter. For a new entry, select the destination and type without using F2.

Windows, Mac, and Excel for the web

This guidance is for Excel for Microsoft 365 on Windows. On a Mac, the documented shortcut to edit the active cell is Control+U, while Return commits an entry. Control+Return can enter the same value into a selected range. Mac keyboards label the Enter key as Return in many layouts, and some keyboard combinations can vary with the keyboard, macOS settings, or an external keyboard.

On some Windows laptops, the function row is shared with hardware controls such as volume or brightness. You may need to hold Fn while pressing F2, or adjust the keyboard’s Fn-lock behavior. This is a keyboard configuration issue rather than a different Excel editing command. If F2 triggers a hardware action, try Fn+F2.

Excel for the web runs in a browser, where function keys or key combinations can be intercepted by the browser or operating system. Selecting a cell and typing a replacement, or using the formula bar, remains a practical alternative if a shortcut does not behave as expected. The exact experience can also depend on the browser and keyboard. When a shortcut is important to a regular workflow, check that it works in the version and device you use.

Common problems and quick fixes

If pressing F2 does not let you edit the cell, first click a worksheet cell to make it active. Confirm that Excel is not waiting for a response in a dialog box and that the worksheet is not protected in a way that prevents editing. On a laptop, try Fn+F2. On a Mac, try Control+U rather than assuming the Windows shortcut will work.

If pressing Enter appears to put the value in the wrong place, remember that Enter normally moves the selection down after committing an entry. Look at the active-cell border, and if needed use Tab, Shift+Tab, or Shift+Enter for a different direction. You can also change the move-after-Enter setting in Excel’s advanced options.

If existing contents disappear, the likely cause is that typing began while the cell was selected, which starts a replacement entry. Undo immediately with Ctrl+Z on Windows or Command+Z on a Mac if the change was accidental and has not been superseded by other actions. To make a targeted correction next time, use F2 on Windows or Control+U on a Mac. If a cell refuses edits, check for worksheet protection or workbook permissions before assuming the shortcut is wrong.

Frequently Asked Questions

What is the shortcut to edit a cell in Excel?
In Excel for Microsoft 365 on Windows, select the cell and press F2. On a Mac, use Control+U. Make the change, then press Enter or Return to commit it.

How do I enter data into a cell without using the mouse?
Move to the destination cell with the arrow keys or Go To, type the value, and press Enter. Enter commits the value and normally moves the selection down; Tab commits it and moves right.

How do I stay in the same cell after pressing Enter?
Use Ctrl+Enter on Windows to commit an entry without the usual move to another cell. You can also change the move-after-Enter behavior in File > Options > Advanced. On a Mac, Control+Return can commit an entry while keeping the selection in place.

How do I edit only part of a cell’s contents?
Select the cell and press F2 on Windows or Control+U on a Mac. Make the correction within the existing text or formula, then commit it. Starting to type without first entering edit mode replaces the cell’s contents.

How do I go directly to a cell such as A100?
On Windows, press Ctrl+G or F5, type A100, and press Enter. You can also type A100 into the Name Box. This selects the cell; it does not edit or change its contents.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.