Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Editing Individual Cells.

Editing Individual Cells

Written by Allen Wyatt (last updated July 23, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


5

If you have been using Excel for any length of time, you probably already know how to enter information into cells and later change that information. If you are new to Excel, however, editing information quickly and efficiently can take a while to master. Fortunately, Excel allows you to quickly and easily edit information you previously entered into a cell.

There are three ways you can edit the information, once you select the cell you want to edit. The first is to just begin typing. If you do this, the information you type replaces the current contents of the cell.

The second way to edit a cell is to use the mouse to point to the contents of the cell on the formula bar. As you move the mouse pointer over the cell information, notice that it changes to an I-beam. Position the I-beam where you want to make an edit and then click the mouse button. The cursor appears at that point within the cell contents, and you can begin editing. Whatever you type is added to the line (you can also drag the I-beam across several characters with the mouse; then what you type replaces the selected text). You can also use the cursor-control keys, as follows:

Key Alone With Ctrl Key
Home Start of line Start of cell
End End of line End of cell
Left Arrow Left one character Left one word
Right Arrow Right one character Right one word
Up Arrow Up one line Up one line
Down Arrow Down one line Down one line

As with many word processors, you can also use the Shift key with the cursor-control keys. This will result in selecting adjacent characters within the cell contents. If you then release the Shift key and type any other information, what you type replaces the selected characters. When you have finished editing the contents of the cell, press Enter.

The final method of editing information is to do it directly within the cell. This is done by either using the mouse to double-click on the cell you want to edit, or by selecting the cell and pressing the F2 key. When you do this, the full contents of the cell appear right in the middle of your worksheet, and you can edit those contents.

When you are editing cells in this manner, all the editing keys function as described earlier. The only difference is where the editing occurs, not how it occurs.

Notice, as well, that if you use cell or range references in a formula that is being edited in the cell, the cells reference in the formula are highlighted in blue in the worksheet. This makes it easy for you to locate references within your worksheet.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12003) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Editing Individual Cells.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Ages in Years and Months

Calculating an age is a common task when working with dates. If you want to figure out the number of years and months ...

Discover More

Hiding Errors on Printouts

If there are error values in a worksheet, you may not want those error values to appear on a printout. Excel actually ...

Discover More

Using Find and Replace to Change Text Case

Can you really use Find and Replace to change the case of text in your document? Not really, but that shouldn't stop you ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Combining Columns

Need to concatenate the contents in a number of columns so that it appears in a single column? Excel has no intrinsic way ...

Discover More

Quickly Entering Data

Excel includes a handy shortcut for entering data that is similar to whatever you entered in the cell above your entry ...

Discover More

Requiring Input

If you distribute a workbook that is used by others for data entry, you may want a way to make sure they fill in certain ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is one less than 9?

2022-08-10 10:01:42

J. Woolley

@Roger Stone
Re. the Fn key, see https://www.howtogeek.com/235351/how-to-choose-whether-your-function-keys-are-f1-f12-keys-or-special-keys/


2022-07-25 13:47:51

Mike

Another functionality for editing contents of a cell is when you have a formula in a cell, when in edit mode, as described in the article, cell references are highlighted. Those highlighted cells can be moved and/or expanded by clicking and dragging the cell or the cell handle, adjusting the formula references.


2022-07-23 11:03:30

J. Woolley

As explained in the following two Tips, action of the F2 key is governed by Excel's "Allow editing directly in cells" option:
https://excelribbon.tips.net/T006174_Activating_the_Formula_Bar_with_the_Keyboard.html
https://excelribbon.tips.net/T012051_Mouse_Scroll_Wheel_Doesnt_Work_when_Editing_Formulas.html
My Excel Toolbox includes the ToggleEditInCell macro to enable or disable that feature. Here is an abbreviated version of the VBA:

Sub ToggleEditInCell()
    With Application
        .EditDirectlyInCell = (Not .EditDirectlyInCell)
    End With
End Sub

See https://sites.google.com/view/MyExcelToolbox/


2022-07-23 10:37:03

J. Woolley

@Roger Stone
Use of the Fn key is configured in your computer, not in Excel. Read your computer's user manual.


2022-07-23 05:50:04

Roger Stone

Allen, when I click a cell and press F2, it pops up the volume control and reduces it. The F2 and F3 keys in their speaker volume function seem to override the Excel function, even when the Excel sheet is live and I have clicked a cell. I have to press the Fn key +F2 to get into edit mode. Do we know how to reverse this priority?


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.