Edit cell contents - Microsoft Support (2024)

You can edit the contents of a cell directly in the cell. You can also edit the contents of a cell by typing in the formula bar.

When you edit the contents of a cell, Excel is operating in Edit mode. Some Excel features work differently or are unavailable in Edit mode.

When Excel is in Edit mode, the word Edit appears in the lower-left corner of the Excel program window, as shown in the following illustration.

Edit cell contents - Microsoft Support (1)

How does Excel operate differently in Edit mode?

In Edit mode, many commands are unavailable. For example, when Excel is in Edit mode, you cannot apply conditional formatting or change the alignment of the contents of a cell.

Also, the arrow keys behave somewhat differently when Excel is in Edit mode. Instead of moving the cursor from cell to cell, in Edit mode, the arrow keys move the cursor around in the cell.

Enable or disable Edit mode

If you try to use Edit mode and nothing happens, it might be disabled. You can enable or disable Edit mode by changing an Excel option.

  1. Click File > Options > Advanced.

  2. Under Editing options, do one of the following:

    • To enable Edit mode, select the Allow editing directly in cells check box.

    • To disable Edit mode, clear the Allow editing directly in cells check box.

Enter Edit mode

To start working in Edit mode, do one of the following:

Insert, delete, or replace cell contents

  • To insert characters, click in the cell where you want to insert them, and then type the new characters.

  • To delete characters, click in the cell where you want to delete them, and then press BACKSPACE, or select the characters and then press DELETE.

  • To replace specific characters, select them and then type the new characters.

  • To turn on Overtype mode so that existing characters are replaced by new characters while you type, press INSERT.

    Note:Overtype mode can be turned on or off only when you are in Edit mode. When Overtype mode is turned on, the character to the right of the insertion point is highlighted in the formula bar, and it will be overwritten when you type.

  • To start a new line of text at a specific point in a cell, click in the where you want to break the line, and then press ALT+ENTER.

Cancel or undo edits

Before you press ENTER or TAB, and before or after you press F2, you can press ESC to cancel any edits that you made to the cell contents.

After you press ENTER or TAB, you can undo your edits by pressing CTRL+Z, or by clicking Undo Edit cell contents - Microsoft Support (2)on the Quick Access Toolbar.

Adjust the way cell contents are displayed

After you edit cell contents, you may want to adjust the way they are displayed.

  • At times, a cell might display #####. This can occur when the cell contains a number or a date and the width of its column cannot display all the characters that its format requires. For example, suppose a cell with the Date format "mm/dd/yyyy" contains 12/31/2007. However, the column is only wide enough to display six characters. The cell will display #####. To see the entire contents of the cell with its current format, you must increase the width of the column.

    Change the width of a column

    1. Click the cell for which you want to change the column width.

    2. On the Home tab, in the Cells group, click Format.

      Edit cell contents - Microsoft Support (3)

    3. Under Cell Size, do one of the following:

      • To fit all text in the cell, click AutoFit Column Width.

      • To specify a larger column width, click Column Width, and then type the width that you want in the Column width box.

        Note:As an alternative to increasing the width of a column, you can change the format of that column or even an individual cell. For example, you could change the date format so that a date is displayed as only the month and day ("mm/dd" format), such as 12/31, or represent a number in a Scientific (exponential) format, such as 4E+08.

  • If there are multiple lines of text in a cell, some of the text might not be displayed the way that you want. You can display multiple lines of text inside a cell by wrapping the text.

    Note:When Excel is in Edit mode, you cannot change the way text wraps.

    Wrap text in a cell

    1. Click the cell in which you want to wrap the text.

    2. On the Home tab, in the Alignment group, click Wrap Text.

      Edit cell contents - Microsoft Support (4)

      Note:If the text is a single long word, the characters won't wrap; you can widen the column or decrease the font size to see all the text. If not all text is visible in the cell after you wrap the text, you may need to adjust the height of the row.

      On the Home tab, in the Cells group, click Format, and then under Cell Size click AutoFit Row.

Exit Edit mode

To stop working in Edit mode, do one of the following:

  • Press ENTER.

    Excel exits Edit mode and selects the cell directly below the current cell.

    You can also specify that pressing ENTER select a different adjacent cell.

    1. Click File > Options > Advanced.

    2. Under Editing options, do one of the following:

      • To make the selection remain in the cell that you were editing, clear the After pressing Enter, move selection check box.

      • To control the direction of the selection, select the After pressing Enter, move selection check box, click the arrow next to Direction, and then select a direction from the list.

  • Press TAB.

    This stops Edit mode and selects the cell to the right of the current cell. Pressing SHIFT+TAB selects the cell to the left.

  • Click a different cell.

    Excel exits Edit mode and selects the cell that you clicked.

  • Press F2.

    Excel exits Edit mode and leaves the cursor where it is.

Edit cell contents - Microsoft Support (2024)

FAQs

Edit cell contents - Microsoft Support? ›

Click the cell that contains the data that you want to edit, and then click anywhere in the formula bar. This starts Edit mode and positions the cursor in the formula bar at the location that you clicked. Click the cell that contains the data that you want to edit, and then press F2.

How do you edit the content of an active cell without overwriting it? ›

Can I edit the contents of a cell (and not overwrite it)? To avoid clearing the contents of the cell at the point when you start entering a correction, double-click on the cell before you start typing. This action enters the edit mode and positions the cursor within the cell. Press F2.

Which options cannot be used to edit cell contents? ›

Expert-Verified Answer

Pressing the Alt key alone does not directly enable you to edit the content of a cell. The Alt key is often used in combination with other shortcut keys to access various commands and features in spreadsheet applications.

How do you edit the contents of a cell in Excel? ›

Double-click the cell that contains the data that you want to edit. This starts Edit mode and positions the cursor in the cell in the location that you double-clicked. The cell contents are also displayed in the formula bar.

How do I clean cell contents in Excel? ›

If you click a cell and then press DELETE or BACKSPACE, you clear the cell contents without removing any cell formats or cell comments. If you clear a cell by using Clear All or Clear Contents, the cell no longer contains a value, and a formula that refers to that cell receives a value of 0 (zero).

Why is Excel not letting me edit? ›

If a worksheet or presentation is locked for editing and can't be edited in the Windows desktop application, it may be that the file is already being edited by someone else, or they have the file checked out. Not sure what "checked out" means? This article might help: Check out or check in files in a document library.

Which function key is used to edit the cell contents? ›

The correct answer is F2. F2 function key is used to edit the content of a cell in MS-Excel. To enter Edit mode, we can follow any of these steps: Double-click the cell that contains the data that you want to edit.

Which of the following can you do to edit cell contents directly in a cell? ›

The user needs to select the cell first, then can edit the cell value by clicking in the formula bar. The user can directly edit or modify a cell value by double-clicking the cell. Another way to edit or modify the cell is to select the respective cell, and then press the F2 function key.

How do I remove part of cell content? ›

Click the left mouse button and drag your cursor over the range of cells from which you want to remove text. Press "Crtl" + "H" on your keyboard. Alternatively, go to the "Editing" group under the "Home" tab, click "Find & Select" and click "Replace."

How do I make Excel cells adjust to fit contents? ›

Go to Home > Cells > Format. Under Cell Size, select AutoFit Column Width.

How to make the cell fixed in Excel? ›

If you want to maintain the original cell reference when you copy it, you "lock" it by putting a dollar sign ($) before the cell and column references. For example, when you copy the formula =$A$2+$B$2 from C2 to D2, the formula stays exactly the same. This is an absolute reference.

How do I fix cell formatting in Excel? ›

Select the cells with the Excel Style. Right-click the applied style in Home > Cell Styles. Select Modify > Format to change what you want.

How do I fix messed up data in Excel? ›

Repair a corrupted workbook
  1. Click File > Open.
  2. Click the location and folder that contains the corrupted workbook.
  3. In the Open dialog box, select the corrupted workbook.
  4. Click the arrow next to the Open button, and then click Open and Repair.
  5. To recover as much of the workbook data as possible, pick Repair.

Top Articles
Your IP has been temporarily blocked | How to unblock your IP address -
What Is a Good SAT Score? – SAT Suite
Using GPT for translation: How to get the best outcomes
Best Team In 2K23 Myteam
Regal Amc Near Me
Faint Citrine Lost Ark
Here are all the MTV VMA winners, even the awards they announced during the ads
Mileage To Walmart
Mustangps.instructure
Noaa Swell Forecast
Legacy First National Bank
MADRID BALANZA, MªJ., y VIZCAÍNO SÁNCHEZ, J., 2008, "Collares de época bizantina procedentes de la necrópolis oriental de Carthago Spartaria", Verdolay, nº10, p.173-196.
The Many Faces of the Craigslist Killer
Weekly Math Review Q4 3
Gfs Rivergate
What Happened To Maxwell Laughlin
سریال رویای شیرین جوانی قسمت 338
Katherine Croan Ewald
Soccer Zone Discount Code
Puretalkusa.com/Amac
Plan Z - Nazi Shipbuilding Plans
Vintage Stock Edmond Ok
MLB power rankings: Red-hot Chicago Cubs power into September, NL wild-card race
Vegas7Games.com
John Chiv Words Worth
Sienna
Sand Dollar Restaurant Anna Maria Island
Bay Area Craigslist Cars For Sale By Owner
Cognitive Science Cornell
Wood Chipper Rental Menards
Nottingham Forest News Now
Mobile crane from the Netherlands, used mobile crane for sale from the Netherlands
Stolen Touches Neva Altaj Read Online Free
Gas Prices In Henderson Kentucky
Rise Meadville Reviews
Nacho Libre Baptized Gif
Bay Focus
Baywatch 2017 123Movies
Tinfoil Unable To Start Software 2022
[Teen Titans] Starfire In Heat - Chapter 1 - Umbrelloid - Teen Titans
How To Customise Mii QR Codes in Tomodachi Life?
Brown launches digital hub to expand community, career exploration for students, alumni
Senior Houses For Sale Near Me
Vagicaine Walgreens
Jimmy John's Near Me Open
Dayton Overdrive
Ajpw Sugar Glider Worth
Fine Taladorian Cheese Platter
Msatlantathickdream
Ciara Rose Scalia-Hirschman
King Fields Mortuary
Blippi Park Carlsbad
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 6010

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.