The fastest way to add a line in Excel

To add a new 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 blank line at that location and shift everything below or to the right down or over by one space. The entire row or column you right-clicked on moves, not just the data in it.

If you need to add multiple rows or columns at once, select as many row numbers or column letters as you want to insert, right-click, and choose Insert. Excel will add that many new lines all at once. For example, if you select rows 5, 6, and 7, then insert, you'll get three new blank rows starting at row 5.

Key Takeaways

  • Right-click the row number or column letter where you want the new line, then select Insert to add a single row or column.
  • Select multiple row numbers or column letters before right-clicking to insert several rows or columns at the same time.
  • Everything below a new row or to the right of a new column shifts down or over automatically — you don't move it yourself.
  • You can also use the Insert menu at the top of Excel, though right-clicking is faster for most people.

Adding a row between existing data

When you have data already in your spreadsheet and need to squeeze in a new row, click on the row number of the row that will move down. For example, if your data goes from row 1 to row 10 and you want a blank row between row 5 and row 6, click on the number 6 on the left side. The entire row 6 will highlight in blue.

Right-click on the highlighted row number and select Insert 1 (or however many rows you selected). A new blank row appears at row 6, and what was row 6 becomes row 7. All your data below that point shifts down by one row. Your formulas and references update automatically — if you had a formula pointing to row 7, it now points to row 8.

Adding a column between existing data

Adding a column works the same way as adding a row, but you click on the column letter instead of the row number. If you want a new column between columns B and C, click on the column letter C at the top. The entire column will highlight in blue.

Right-click on the highlighted column letter and select Insert 1. A new blank column appears, and everything to the right shifts one column over. If you had data in column C, it moves to column D. Any formulas that reference the old column letters update automatically, so your calculations keep working.

Using the Insert menu instead of right-clicking

If you prefer using the menu bar, you can insert rows and columns from the top of Excel too. First, select the row number or column letter where you want the new line. Then click the Insert menu at the top (not the Insert tab — the menu that appears after you click it).

From the dropdown, choose Insert Rows Above or Insert Columns Before, depending on what you need. This does the same thing as right-clicking, but takes an extra step. Most people find right-clicking faster once they know where to look.

What happens to your data when you insert a line

When you insert a new row or column, Excel moves everything that was in that location and everything below or to the right of it. Nothing gets deleted or overwritten. If you insert a row at row 5, the old row 5 becomes row 6, row 6 becomes row 7, and so on down the entire spreadsheet.

If your spreadsheet has formulas, Excel updates them automatically. A formula that was adding up rows 1 through 5 will now add up rows 1 through 6 if you inserted a row in the middle. This happens behind the scenes — you don't have to fix the formulas yourself. However, if you have a formula that specifically references row 5, and you insert a new row 5, that formula now points to the new blank row instead of your original data. Check your formulas after inserting rows or columns if your calculations look wrong.

Undoing an accidental insert

If you insert a row or column by mistake, press Ctrl+Z on Windows or Command+Z on Mac to undo it immediately. This brings back the row or column you just added and puts everything back where it was. You can undo multiple times if you need to go back several steps.

If you've already saved your file and closed it, you cannot undo the insert. Open the file and manually delete the row or column you added by mistake. Right-click on the row number or column letter and select Delete to remove it.

Frequently Asked Questions

Can I insert a row at the very end of my spreadsheet?

Yes. Click on the row number below your last row of data and insert. Excel will add a new blank row there. You can also just start typing in the first empty row below your data — Excel doesn't require you to formally insert rows at the end.

What's the difference between inserting and just adding data to an empty row?

Inserting moves everything down or over and creates space in a specific location. Adding data to an empty row just fills in that empty space without moving anything. Use insert when you need to squeeze something into the middle of your data; use empty rows when you're adding to the end.

Do I lose any data when I insert a row or column?

No. Inserting adds a blank line and shifts everything else over. Nothing is deleted. The only way to lose data is if you delete a row or column instead of inserting one.

Why did my formula break after I inserted a row?

If your formula referenced a specific row number (like =SUM(A5:A10)), and you inserted a new row 5, your formula now points to the new blank row instead of your original data. Check formulas after inserting rows in the middle of your data and adjust them if needed.