How to Edit a Cell in Excel: 4 Easy Methods

Method 1 – Double Click to Edit a Cell 

Steps:

  • Select any cell. We chose the D9 cell and double-clicked it.
  • A cursor appears and blinks on this cell. This indicates that you can edit this cell.

How to Edit a Cell in Excel Using Double Click

  • Press ENTER to confirm the change and move on to the next cell.

How to Edit a Cell in Excel Using Double Click


Method 2 – Edit the Active Cell Utilizing Keyboard Shortcuts

Steps:

  • Choose a cell. We’ve shown the D14 cell as an example.
  • Instead of double-clicking on the cell, press the F2 key if you’re a Windows user. The cursor pops up just like before. For Mac users, the keyboard shortcut is ^ U.

How to Edit a Cell in Excel Using Keyboard Shortcut

  • Change the value of the cell.
  • Press ENTER to keep the change.

How to Edit a Cell in Excel Using Keyboard Shortcut


Method 3 – Using the Formula Bar

Steps:

  • Select a cell. We showed the D8 cell.
  • Start typing in the box above the spreadsheet, as shown in the picture below.

How to Edit a Cell in Excel Using Formula Bar

  • After completing your typing, click the green checkmark on the left to commit to the change.

Using Formula Bar


Method 4 – Edit a Cell with VBA Code

Step 01: Open the VBA Editor

  • Go to the Developer tab and then to Visual Basic.

Using VBA Code

Step 02: Insert the VBA Code

  • Double-click on the sheet where you want to insert the VBA code.

Using VBA Code

  • For your ease of reference, you can copy the code from here and paste it into the window as shown below.

How to Edit a Cell in Excel Using VBA Code

Private Sub Worksheet_SelectionChange(ByVal Target As Range) 
'This code helps you to edit cell' 
SendKeys "{F2}" 
End Sub

Step 03: Run the Code

  • Click Run or use the keyboard shortcut F5 to run.

How to Edit a Cell in Excel Using VBA Code

  • Return to your worksheet. Selecting any cell will enter into editing mode.

How to Edit a Cell in Excel Using VBA Code


Issues When You Can’t Edit Cell

Issue 1 – When the Worksheet Is in Read Only Mode

  • When you download a file from the internet, Excel by default opens the spreadsheet in Read-Only mode, which restricts any editing. To edit the file, simply press the Enable Editing icon.

How to Edit a Cell in When Read Only Mode is Activated

  • You can edit any cell in the worksheet.

When Read Only Mode is Activated


Issue 2 – If the Spreadsheet Is Locked

A second reason for not being able to edit your worksheet could be that it is locked. If a worksheet is locked, then trying to edit it prompts the following message.

When Worksheet is Locked

Steps:

  • Navigate to the Review tab and click Unprotect Sheet.

When Worksheet is Locked

  • Type in the password and press OK.

How to Edit a Cell in When Worksheet is Locked

  • This should re-enable the editing option.

How to Edit a Cell in When Worksheet is Locked


Issue 3 – Editing Is Disabled for the Worksheet

Steps:

  • Navigate to the File tab located at the top left corner.

When Editing is Disabled

  • Click the Options tab to open a new window.

When Editing is Disabled

  • Press the Advanced tab and check the Allow editing directly in the cells box. Confirm the change by clicking OK.

How to Edit a Cell in When Editing is Disabled


Download the Practice Workbook


Related Articles

Get FREE Advanced Excel Exercises with Solutions!
Eshrak Kader
Eshrak Kader

Eshrak Kader is a dedicated professional with a BSc. Degree in Naval Architecture and Marine Engineering from Bangladesh University of Engineering and Technology. He boasts a rich background in Microsoft Office Suite, and over the past year, he has authored over 120 insightful articles for the ExcelDemy. Currently, Eshrak leads a team of 5 in the ExcelDemy Video project and enjoys problem-solving and making videos on Excel. Eshrak’s passion for continuous learning underscores his commitment to excellence in... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo