Edit Cells in Excel: A Complete Guide

Get FREE Advanced Excel Exercises with Solutions!

In this Excel tutorial, you will learn how to
-Edit a single cell.
-Edit multiple cells.
-Replace and delete cell data.
-Add a line break in cell.
-Enable or disable edit mode.
-Cancel or undo edits.
-Solve issues if one faces while editing.

While preparing this article, we have utilized Excel 365. But the methods in this article are also applicable in all other Excel versions.

Are you are a financial analyst of a company? Or do you receive monthly sales data? Do you need to update your Excel worksheet simultaneously? For that, you need to know how to Edit in Excel.

Overview image of Edit in Excel


Download Practice Workbook

Download the practice workbook used to elaborate methods in this article from here.


How to Edit in Excel

We will be using the following dataset as an example to illustrate methods in this article. The dataset is representing some employees’ information of a company.

Dataset to Edit in Excel


1. How to Edit a Single Cell

There are several ways of editing a single cell in Excel. Some of those are described below.

1.1 Edit Cell by Entering Data Directly

Let’s say, you want to replace text Laura with text Marie in cell C5.

  • Simply select cell C5 by left-clicking on it.

Selecting cell C5

  • Type Marie and you can see cell C5 is in editable mode.

Inserting new data in the selected cell

  • Now press Enter.
  • And the editing is done.

Editing is done after pressing enter


1.2 Editing Cell Using Formula Bar

You can edit cell using the formula bar. Let’s assume, you want to replace text Laura with text Marie in cell C5.

  • Simply select cell C5 and move the cursor in the formula bar.
  • Now, cell C5 is in editable mode. You can change the existing data of this cell.
  • Use the Backspace key on your keyboard to remove existing text.
  • Type Marie in the formula bar.

Editing from the formula bar


1.3 Keyboard Shortcut

You can use key F2 from your keyboard to make a cell editable.

  • Like here, we have selected cell C5.
  • Then pressed F2 button and now the cell C5 is in editable mode.

Pressing F2 button to activate edit mode


1.4 Double Click Left Button of Mouse

You can enable edit mode of a cell by simply left-clicking the mouse twice.

  • Like here, we have double-clicked the left button of the mouse on cell C5.
  • And cell C5 is now in editable mode.

Left-clicking twice on cell to enter into edit mode


2. How to Edit Multiple Cells

You can edit multiple cells in Excel and modify those with the same text or formula.

Let’s assume, we have a dataset as follows where some employees’ country information is not available (N/A). So, we will edit those cells and fill them with N/A.

  • First, select cells D6, D8, and D10 by holding the Ctrl key.
  • Your last selected cell will be activated. Here, cell D10 is activated now.

Selecting multiple cells

  • Now, type N/A.

Input new data after selecting multiple cells

  • After typing N/A, simply press and hold Ctrl + Enter.
  • And all the selected cells are filled with the same text.

Using Ctrl+Enter after inputting data


What are the Uses of Editing Cell in Excel

You can change the data in a specific cell’s contents within a spreadsheet using Excel’s Edit Cell feature. It offers an efficient way to modify a cell’s data or formula without having to retype the entire thing. Here are some uses of edit cell described below.

1. How to Replace Cell Data

Presume, your dataset is containing some wrong information as follows. The text should be Laura in cell C5, not Paura. So, we have to replace P with L.

  • Simply get into the editable mode by left-clicking twice on cell C5.
  • Put the cursor in between P and a.

Putting cursor between texts to edit in excel

  • Use the Backspace key to remove P.
  • Type L and the editing result is as follows.

Use backspace to remove letter then type a new letter


2. How to Delete Cell Data

Let’s assume, one of the cells from your dataset is containing extra texts and you want to delete that.

  • Like here, the text in cell C5 should be Laura, not Laaura.
  • So now, you want to delete that extra a.
  • Simply left-click twice on cell C5.
  • Put your cursor in between a and u.

Putting cursor between letters to delete data

  • Use key Backspace to remove the extra a.

Using backspace key to remove existing text then typing new one

  • You can also delete the whole text from a cell.
  • Let’s say, you want to delete the whole text from cell C5.
  • Simply select cell C5 and press the Del key from your keyboard.
  • The text will be deleted from cell C5.

Using Del key to delete existing text from a cell


3. How to Add a Line Break in Cell

Suppose, in the following dataset, you want to add the full name of an employee by adding a line break. Let’s say, you want to edit cell C5 and add Anderson with a line break with text Laura.

  • Left-click twice on cell C5. The cell is now in editable mode.

Left-clicking twice to activate cells’ edit mode

  • Press and hold Alt + Enter and you will see that the cursor went to the next line.

Using Alt+Enter to add line break

  • Now simply type whatever you want, then press Enter.
  • Also, adjust the cell height so that both lines are well visible.

Line break is added


How to Enable or Disable Edit Mode in Excel

  • Go to the File tab.

Go to the File tab

  • Click on Options.

Click on Options

  • Go to the Advanced section.
  • Mark the Allow editing directly in cells box, then click on OK to enable edit mode.

Mark Allow editing directly in cells to enable edit mode

  • Unmark the Allow editing directly in cells box, then click on OK to disable edit mode.

Unmark Allow editing directly in cells to disable edit mode

  • If you disable edit mode, then left-clicking twice on a cell won’t activate the edit mode.

Cell is not turning on edit mode by double clicking mouse left button


How to Cancel or Undo Edits

Assume, you have edited data in cell C5 with a new text and now you want to cancel or undo the edits.

New text entered into cell

  • If you use the keyboard shortcut Ctrl + Z, this will undo the changes you have done in cell C5.

Using Ctrl+Z to undo changes

  • Same thing you can do by clicking on the Undo icon in the quick access toolbar.

Using quick access toolbar to undo changes

  • Or you can press Esc to cancel the edit and disable the edit mode.

Pressing Esc to cancel edits


[Fix!] Problem in Editing in Excel

Don’t worry if you find any issues while editing cells in Excel. You have got solutions for that.

1. Check If In-Cell Editing is Enabled or Not

  • Go to the File tab.

Select File tab

  • Click on Options.

Select Options

  • Go to the Advanced section and check whether the Allow editing directly in cells box is marked or not.
  • If it is unmarked, then mark it and click on OK.
  • And now, you can edit a cell by left-clicking twice on it.

Check whether the Allow editing directly in cells is marked or not


2. Check If Worksheet is Unprotected or Not

  • Let’s say, you want to edit a cell and the following message appeared on your worksheet.
  • It’s because your worksheet is protected with a password.

Editing cell is not working due to protected sheet

  • To solve this issue, first right-click on the worksheet.
  • Select Unprotect Sheet from Context Menu.

Click on Unprotect Sheet

  • Type down the password for the sheet then click on OK. Here, the password was 123.

Enter password then clicking on OK

  • The sheet is now unprotected and you can edit any cell you want.
  • Like here, we have left-clicked twice on cell C5 and the cell is now in editable mode.

Edit is working now


3. If Excel File is in Read Only Mode

You can’t edit your worksheet if your Excel file is in Read Only mode.

  • Open the Excel file, then click on Enable Editing at the top.

Click on Enable Editing

  • Or you can right-click on your Excel file, then select Properties.

Clicking Properties of Excel file

  • Then unmark Read-only, mark Unblock, click on Apply then OK.

Unmark Read-only, mark Unblock then click on Apply and OK

  • Now, your worksheet is editable.

Worksheet is now editable


Frequently Asked Questions

1. How do I edit a table in Excel?

After creating a table out of your dataset, a new tab will appear titled Table Design at your toolbar. Selecting the table, you can customize your table in many ways using the tools in this Table Design tab.

You can remove duplicate items, insert slicers or even resize your table from there. Also, you can enable or disable filter from your table as well. You will find many features in the Table Design tab.

2. Which file formats are supported for editing in Excel?

The following file types can be edited with Microsoft Excel: CSV (Comma-Separated Values), XLSX (Excel Workbook), and ODS (OpenDocument Spreadsheet).

3. Where is edit alt text in Excel?

If you insert an image in your worksheet, a new tab titled Picture Format will appear in your toolbar. Select your picture, then at the Picture Format tab, click on Alt Text from the Accessibility group. From there, you can edit alt text.


Conclusion

We often need to work with editing in Excel. We may need to change data from a range or update new data in a new empty range. In this article, we have demonstrated almost everything related to edit in Excel. Hope, you have found what you were looking for. Visit our site ExcelDemy for more relevant articles.


Edit Cells in Excel: Knowledge Hub


<< Go Back to Excel Cells | Learn Excel

What is ExcelDemy?

ExcelDemy - Learn Excel & Get Excel Solutions Center provides online Excel training , Excel consultancy services , free Excel tutorials, free support , and free Excel Templates for Excel professionals and businesses. Feel free to contact us with your Excel problems.

Tags:

Raiyan Zaman Adrey
Raiyan Zaman Adrey

Raiyan Zaman Adrey, armed with a BSc in Civil Engineering from Bangladesh University of Engineering and Technology, efficiently combines engineering skills with a passion for Excel. In his role as an Excel & VBA Content Developer at ExcelDemy, he not only tackles complex issues but also demonstrates an enthusiastic mindset, efficiently managing critical situations with patience, showcasing his commitment to excellence. He is interested in C, C++, C#, JavaScript, Python, Microsoft Office, AutoCAD, Adobe Illustrator, Data Entry, and... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo