The fastest way to add a line in Excel
To add a blank row or column in Excel, right-click on the row number or column letter where you want the new line to appear, then select Insert from the menu. Excel will insert a new row above the one you clicked, or a new column to the left of the one you clicked. The existing data shifts down or to the right automatically.
If you need to add multiple rows or columns at once, select as many row numbers or column letters as you want to insert (by clicking the first one, holding Shift, and clicking the last one), then right-click and choose Insert. Excel will add that many new lines in one action.
You can also use the menu instead of right-clicking: go to the Home tab, click the dropdown arrow next to Insert, and choose either Insert Sheet Rows or Insert Sheet Columns.
Key Takeaways
- Right-click a row number or column letter and select Insert to add a single blank line above or to the left of where you clicked.
- Select multiple row numbers or column letters at once to insert that many rows or columns in a single action.
- New rows always insert above the selected row, and new columns always insert to the left of the selected column.
- All existing data automatically shifts down or right to make room for the new lines.
- You can undo an insertion by pressing Ctrl+Z (or Cmd+Z on Mac) if you make a mistake.
Inserting rows in the middle of your data
When you need to add a row between existing data, click on the row number of the row that will come after your new blank row. For example, if you want to insert a row between row 5 and row 6, click on row 6. Then right-click and select Insert. The new blank row appears as row 6, and what was row 6 becomes row 7.
This matters because your data doesn't move up or down on its own — it moves in the direction away from where you clicked. If you click row 10 and insert, everything from row 10 onward shifts down. If you accidentally click the wrong row, undo the action with Ctrl+Z and try again.
Inserting columns to the left of existing data
Columns work the same way as rows. Click on the column letter of the column that will come after your new blank column. If you want to insert a column between column B and column C, click on column C. Right-click and select Insert. The new blank column becomes column C, and what was column C becomes column D.
This is useful when you realize you forgot a data field. Instead of manually moving everything to the right, you can insert a column in the exact spot where it belongs, and all your existing columns shift automatically.
Adding rows or columns using the menu
If you prefer not to right-click, you can use the ribbon menu at the top. First, select the row number or column letter where you want to insert. Then click the Home tab (if you are not already on it), find the Insert button in the toolbar, click the small dropdown arrow next to it, and choose Insert Sheet Rows or Insert Sheet Columns.
The menu method takes slightly longer but works exactly the same way as right-clicking. Use whichever feels more natural to you.
Deleting rows and columns you no longer need
If you add a row or column by mistake, or you have data you want to remove, right-click the row number or column letter and select Delete. The remaining rows or columns shift up or to the left to fill the gap. All data in the deleted row or column is removed permanently, so make sure you do not need it before you delete.
Like inserting, you can undo a deletion with Ctrl+Z if you change your mind immediately. You can also select multiple rows or columns and delete them all at once by selecting them together, right-clicking, and choosing Delete.
What happens to formulas when you insert rows or columns
If your spreadsheet contains formulas that reference cells in other rows or columns, those formulas update automatically when you insert new lines. For example, if a formula in cell D5 adds up cells D1 through D4, and you insert a new row between D2 and D3, the formula adjusts to D1 through D5 to include the new row. Excel handles this for you — you do not have to rewrite the formula.
This automatic adjustment is one reason inserting is safer than manually moving data around. When you insert rather than cut and paste, you avoid the risk of breaking a formula by moving only part of the range it refers to.
Frequently Asked Questions
Can I insert a row at the very top or bottom of my spreadsheet?
Yes. To insert a row at the top, click on row 1, right-click, and select Insert. A new row 1 appears and everything shifts down. To add a row at the bottom, click on the first empty row below your data, right-click, and select Insert. You can add as many rows as you need.
What if I insert a row but my data does not shift?
Your data should shift automatically. If it does not, you may have accidentally inserted a row in a blank area of the spreadsheet. Undo the action with Ctrl+Z, click directly on the row number of the row you want to insert above, and try again. Make sure you are clicking the row number itself, not just a cell in that row.
Can I insert a row without right-clicking?
Yes. Select the row by clicking its number, then use the Home tab menu and click Insert, then Insert Sheet Rows. You can also use the keyboard shortcut Ctrl+Plus (on Windows) or Cmd+Plus (on Mac), though this opens a dialog asking whether you want to insert rows or columns.
Do inserted rows and columns have any special formatting?
New rows and columns are blank with default formatting. They do not automatically copy the formatting of nearby rows or columns. If you want them to match, you can select them and apply formatting manually, or copy the formatting from an adjacent row using the Format Painter tool.