Skip to content
TECHNOARTH IT for offices and small businesses.
Software

Excel won’t let me type, insert rows or merge cells: fixes

Excel won't let you type in cells, insert rows, merge or paste? Identify the cause from the symptom (Protected View, a protected sheet, a file locked by a colleague, a table or stray formatting at the end of the sheet) and fix it without losing data or opening a security hole.

Excel won’t let me type, insert rows or merge cells: fixes

In an office, the same workbook passes through many hands: finance builds it, reception enters data, the manager reviews it. When Excel refuses to do something, it’s almost never a bug. It’s a lock that someone (or Office itself) turned on deliberately.

In this article
  1. First, find out which lock is on
  2. Can’t type: Protected View
  3. Can’t type: the sheet is protected
  4. Can’t type: a colleague has the file open
  5. Can’t type: other quick causes
  6. Can’t insert rows or columns
  7. Can’t merge cells
  8. Can’t copy and paste
  9. Which path to follow
  10. Frequently asked questions

First, find out which lock is on

Before changing anything, look at the Excel window:

  • A yellow or red bar just below the ribbon: the file opened in Protected View.
  • “Read-Only” next to the file name in the title bar: the file is locked by someone else or was opened without edit permission.
  • An Unprotect Sheet button on the Review tab: the sheet is protected.

Can’t type: Protected View

Workbooks downloaded from the internet, received as Outlook attachments or opened from a location considered unsafe arrive read-only. Microsoft explains the reasons on the page What is Protected View?, which also covers files that fail Office’s file validation check.

  1. Check who sent the file. If it came from a client or supplier you know and you were expecting it, click Enable Editing on the yellow bar.
  2. If the bar is red, Office found a problem with the file. Only use Edit Anyway when you’re certain of where it came from; if in doubt, ask the sender to resend it or confirm by phone.
  3. A workbook that arrives from the same partner every month? Once you’ve checked it and enabled editing, save a copy in the company folder and work on that, rather than always opening the attachment straight from the email.

The settings are under File › Options › Trust Center › Trust Center Settings › Protected View. Ideally, every option there stays ticked on every PC in the office.

Excel Trust Center on the Protected View section, with the options for Internet files, unsafe locations and Outlook attachments checked
In File › Options › Trust Center › Trust Center Settings, keep the options for Internet files (1) and Outlook attachments (2) checked. Unlock each trusted file with Enable Editing instead of turning protection off.

Can’t type: the sheet is protected

When someone uses Review › Protect Sheet, every cell is locked by default except those that were unlocked beforehand. When you try to type, Excel warns that the cell is on a protected sheet.

  1. Go to Review › Unprotect Sheet.
  2. If a password box appears, enter the password of whoever protected it. If there’s no password, the protection comes off immediately.
Unprotect Sheet window asking for the password
If Excel won’t let you type in cells, the sheet may be protected: Review › Unprotect Sheet and the password set by whoever protected it (1).

If the idea was to protect only the formulas and let the team enter data, the right setup is different:

  1. Unprotect the sheet.
  2. Select the cells where people should type (for example, the column for this month’s figures).
  3. Right-click › Format Cells (or Ctrl + 1), open the Protection tab and clear Locked.
  4. Go back to Review › Protect Sheet, set the password and tick what the team is allowed to do, such as inserting rows and using filters.
Excel Protect Sheet box with a password filled in and Select locked cells, Select unlocked cells, Insert rows and Use AutoFilter checked
Under Review › Protect Sheet, the password (1) stays with the sheet owner. Checking Insert rows (2) and Use AutoFilter (3) lets the team add data and filter without touching the formulas.

Microsoft itself points out, in Protect a worksheet, that this feature is meant to prevent accidental changes, not to provide security. A sheet with salaries or customers’ ID numbers needs real access control (a folder or share limited to those who need it), which also counts in your favor for data-protection compliance.

Can’t type: a colleague has the file open

In a shared network folder, only the first person to open the workbook can edit it; whoever comes next sees it as read-only or gets a message that it’s locked for editing. The article Excel file is locked for editing sums up the ways out:

  1. Find out who has the file open and ask them to close it. Sometimes it’s you, on another PC.
  2. If you only need to look, open it read-only and keep your notes in a separate file.
  3. If the lock remains after everyone has closed it, wait a few minutes: the server can take a while to release it.

The long-term fix is co-authoring: with the workbook in OneDrive for Business or Microsoft 365 SharePoint, saved as .xlsx, several people can edit at once. Files on server paths such as \\server\folder don’t support it. Everyone needs Excel for Microsoft 365 (or Excel for the web): a single person opening it in Excel 2016, 2019 or 2021, which don’t support co-authoring, is enough for everyone else to get the locked-file message. If the synced folder gets stuck, see OneDrive not syncing; if the company still uses a local network folder, check the permissions in share a folder on the network in Windows 11.

If the workbook still uses the legacy Shared Workbook feature, turn it off before moving the file to the cloud: it restricts many actions and blocks co-authoring.

Can’t type: other quick causes

  • You’re still inside a cell: while the cursor is blinking in a cell, many menus are greyed out. Press Enter or Esc.
  • Data validation: the cell only accepts certain values (a list, a date range). Check the rule under Data › Data Validation before removing it: it’s usually there to prevent entry mistakes.
  • The workbook is protected: if you can’t insert, rename or delete sheets, the protection is on the workbook, not the sheet. The button is under Review › Protect Workbook.

Can’t insert rows or columns

If the sheet isn’t protected, the usual cause is content or formatting left far down at the end of the sheet. Inserting a row would push that content past the last possible row, so Excel refuses in order to avoid losing data. It happens when someone fills or borders an entire column, or drags a formula all the way down.

The official procedure is in Locate and reset the last cell on a worksheet:

  1. Click anywhere on the sheet and press Ctrl + End. Excel jumps to the last cell it considers used.
  2. If that cell is far beyond your data, click the heading of the first empty column after the data and press Ctrl + Shift + End to select everything to the end.
  3. On the Home tab, in the Editing group, click the arrow next to Clear and choose Clear All.
  4. Do the same for the empty rows below the data, starting from the heading of the first empty row.
  5. Save, close and reopen the file.

Can’t merge cells

  • The data is in a Table: Excel tables don’t allow merging. Click the table and use Table Design › Convert to Range. After that, the filter arrows disappear and formulas that use the table name turn into regular references (see Convert an Excel table to a range of data).
  • A protected sheet or the legacy Shared Workbook feature: unprotect the sheet or turn off the old mode, as shown above.

In workbooks used every day, it’s better not to merge at all. To center a title across several columns, select the cells, open Format Cells › Alignment and, in the Horizontal list, choose Center Across Selection. It looks the same, and filtering, sorting and copying keep working.

Can’t copy and paste

  • Separate selected areas: if you selected separate blocks with Ctrl, Excel only copies them when they share the same rows or columns. Copy one block at a time.
  • A destination of a different size: select only the first cell of the destination before pasting, not a whole range.
  • Merged cells in the destination: unmerge the cells in the destination area.

When Excel doesn’t respond to any click at all, it’s a different problem; see Excel not responding.

Which path to follow

What you seeLikely causeWhere to fix it
Yellow or red barProtected ViewEnable Editing, if the file is trustworthy
Protected-cell warningProtected sheetReview › Unprotect Sheet
“Read-Only” in the title barFile open by someone elseAsk them to close it, or use co-authoring in Microsoft 365
Won’t insert a row or columnFormatting at the end of the sheetCtrl + End and Clear All
Won’t mergeTable or legacy shared modeConvert to Range

Frequently asked questions

I forgot the password for a protected sheet. Can Microsoft recover it?

No. Microsoft states it has no way to recover forgotten passwords. Ask whoever protected it, or use an earlier unprotected copy. Don’t upload the file to sites that promise to crack passwords: you’d be handing company data to strangers.

Why can only one employee edit the workbook and nobody else?

Usually the file is in a network folder and the first person to open it holds the lock. With the file in OneDrive for Business or SharePoint, as .xlsx, everyone can edit at the same time through co-authoring.

Share

About the author

TECHNOARTH Editorial Team

The TECHNOARTH newsroom: technology tutorials, guides, comparisons and news produced with AI assistance and checked against manufacturers’ official sources.

Reviewed by Arth Moraes — Arth Moraes is the editorial pen name of the person responsible for TECHNOARTH, who sets the agenda, reviews and approves every tutorial before publication and is accountable for corrections.