Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and 2021. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Easily Adding Blank Rows.

Easily Adding Blank Rows

Written by Allen Wyatt (last updated June 26, 2024)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and 2021


There may be a time when you are working with a table and you want to insert a blank row between each existing row in the table. There are several easy ways to do this. If you don't want to use a macro, you can follow these steps:

  1. Insert a blank column anywhere in the list or table.
  2. Put the value 1 in the first table cell of the new column and the value 2 in the second cell.
  3. Select the two cells entered in step 2 and use the Fill handle to drag down to the last cell in the table. You should now have a column filled with consecutive numbers, 1 through however many rows there are in the table. These filled cells should still be selected.
  4. Press Ctrl+C. This copies the cells to the Clipboard.
  5. In the new column, just below the last cell, paste the copied cells. You should now have another range of cells below the table filled with the same consecutive numbers you created in step 3.
  6. Select any cell in the original table.
  7. Display the Data tab of the ribbon.
  8. Click Sort in the Sort & Filter group. Excel selects the table, including the rows added in step 5, and displays the Sort dialog box. (See Figure 1.)
  9. Figure 1. The Sort dialog box.

  10. Specify that you want to sort in ascending order by the new column that contains your numbers.
  11. Click on OK. The table is resorted.
  12. Delete the column you added in step 1.

The above steps work because of the way in which Excel does its sorting. If, for some reason, you end up with two blank rows next to each other (in other words, the sorting does not work exactly as it should have), then you can modify the process slightly. In step 2, enter the numbers 1 and 3 in the top two cells. This results in odd numbers being filled down the new column. Instead of doing steps 4 and 5, you would simply fill a like area with even cells (simply fill the first cell with 2 and the second one with 4). When you then sort in steps 6 through 10, the resulting table has the rows interleaved in the proper order.

If you are not averse to using macros, inserting the blank rows is even easier. Simply select the rows you want to affect, and then execute this macro:

Sub AddBlankRows1()
    Dim J As Integer
    Dim MySelection As Range

    If TypeName(Selection) <> "Range" Then Exit Sub
    Set MySelection = Selection
    Application.ScreenUpdating = False
    For J = MySelection.Rows.Count To 1 Step –1
        MySelection.Rows(J).EntireRow.Insert
    Next J
    Application.ScreenUpdating = True
End Sub

A somewhat shorter variation on the same macro is this:

Sub AddBlankRows2()
    FR = Selection.Rows.Row
    LR = Selection.Rows.Count + FR - 1
    For R = LR To FR + 1 Step -1
        Rows(R).Insert
    Next
End Sub

Of course, you should remember that if your only purpose in adding rows is to "space out" your information, you can achieve the same thing by simply increasing the height of each row in the table. You should only physically add blank rows if you need those rows in order to insert additional information in your data table.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9667) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and 2021. You can find a version of this tip for the older menu interface of Excel here: Easily Adding Blank Rows.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Complex Compound Formatting

Sometimes it can seem that the formatting needs of your document can easily outstrip the capabilities of Word. This is ...

Discover More

Unselecting a Chart Item

When formatting a chart, you select elements and then change the properties of those elements until everything looks just ...

Discover More

Adjusting Column Widths on Joined Tables

Each table in a document can have different numbers of columns and different widths for columns. If you want to join two ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 365 applications with VBA programming. Written in clear terms and understandable language, the book includes systematic tutorials and contains both intermediate and advanced content for experienced VB developers. Designed to be comprehensive, the book addresses not just one Office application, but the entire Office suite. Check out Mastering VBA for Microsoft Office 365 today!

More ExcelTips (ribbon)

Colors No Longer Work

It can be disconcerting if you are editing a workbook and can no longer change colors for cells in the workbook. This tip ...

Discover More

Limiting Input to a Format

When setting up a worksheet for others to use, you might want to make some limitations on what can be entered in certain ...

Discover More

Forcing Editing to Be Done in a Cell

Excel allows you to edit your cell contents in two places. What if you want to limit where editing occurs, so it can only ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight minus 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.