The quickest 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 row you clicked, or a new column to the left of the column 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 arrow next to "Insert" in the Cells group, and choose "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 that position.
- Select multiple row numbers or column letters at once to insert several rows or columns in a single action.
- Your existing data automatically shifts down (for rows) or right (for columns) when you insert a new line.
- The Home tab menu offers the same Insert options if you prefer not to right-click.
Inserting rows at the end of your data
If you want to add rows below your existing data rather than in the middle, you do not need to insert at all. Simply click on the first empty cell below your data and start typing. Excel treats any cell you enter data into as part of your spreadsheet.
However, if you want to maintain a specific structure or add multiple blank rows for formatting, the insert method works the same way: right-click the row number where you want the new rows to begin, select "Insert", and choose how many rows you need.
Adding columns for new data categories
Columns work the same way as rows. Right-click the column letter where you want a new column to appear, and select "Insert". The new column appears to the left of the one you clicked, and all data in columns to the right shifts one column over.
This is useful when you realize mid-spreadsheet that you need a new data category. For example, if you have columns for Name, Email, and Phone, but you want to add a Department column between Email and Phone, right-click the Phone column letter and insert a new column. Your phone numbers stay in their own column, and the new Department column sits between Email and Phone.
What happens to formulas when you insert a line
If your spreadsheet contains formulas that reference cells, Excel automatically updates those references when you insert a row or column. For example, if you have a formula in cell D5 that adds up cells D1 through D4, and you insert a new row at position 2, the formula becomes D1 through D5 (it now includes the new row).
This automatic adjustment usually works correctly, but it is worth checking your formulas after inserting rows or columns near them. Click on a cell with a formula and look at the formula bar to confirm the cell references are what you expect.
Deleting rows and columns you no longer need
If you insert 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 left to fill the gap.
Be careful when deleting: if the row or column contains data, that data is permanently removed. If you are unsure, use Ctrl+Z (or Cmd+Z on Mac) immediately after deleting to undo the action and get your data back.
Inserting multiple non-consecutive rows or columns
Excel's insert function adds new lines in one continuous block. If you need to add rows in different parts of your spreadsheet (for example, a new row after row 5 and another after row 15), you must insert them one section at a time.
Insert the first set of rows, then insert the second set. Because the row numbers shift when you insert, insert the lower rows first (row 15 area before row 5 area) to avoid confusion about which rows have moved.
Frequently Asked Questions
Can I undo inserting a row or column?
Yes. Press Ctrl+Z (or Cmd+Z on Mac) immediately after inserting to undo. You can undo multiple actions by pressing Ctrl+Z repeatedly, but the further back you go, the more changes you reverse.
What happens to my data when I insert a row in the middle?
Your data shifts down (for rows) or right (for columns). The new blank row or column takes the position you specified, and everything below or to the right moves down or over by one position. No data is deleted.
Can I insert a row at the very top of my spreadsheet?
Yes. Right-click row number 1 and select "Insert". A new row 1 appears, and your current row 1 becomes row 2. This is useful if you want to add a title or header row above your existing data.
How do I add a row at the end of my data without using insert?
Click on the first empty cell below your data and type. Excel automatically includes it in your spreadsheet. You only need to use "Insert" if you want the new row in a specific position or want to maintain a particular structure.
Do I have to insert rows one at a time?
No. Select multiple row numbers or column letters by clicking the first, holding Shift, and clicking the last. Right-click and select "Insert". Excel adds all of them at once in the position of the first row or column you selected.