Cookies help us deliver our services. By using our services, you agree to our use of cookies.
Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to quickly insert blank /empty rows in Excel?

Most of us may face the problem in Excel that we need to insert a blank row between each of the existing rows, and all of us know how to insert a blank row manually. But inserting hundreds of blank rows will be a tedious task if you insert each row individually. Here are some quick tricks to help you solve this problem.

Insert blank rows with Sort function

Insert alternate blank rows with VBA code

Quickly insert specific numbers of blank rows with Kutools for Excel


Quickly insert specific numbers of blank rows to a range in Excel:

The Insert Blank Rows and Columns utility of Kutools for Excel can help you quickly insert certain numbers of blank rows or columns to a range in Excel. See the related opertions as below screenshot:

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Insert blank rows with Sort function

This method is an easier but roundabout to insert blank rows between exiting rows. You can do as follows:

1. You need a blank column adjacent to your data. For example, I have a worksheet comprises A1:E9, you can use column F.

2. In cell F1 input the number 1, and input 2 in cell F2.

3. Select the number 1 and number 2, and double-click the fill handle, Excel will auto-fill the cells in column F.

4. Then copy this new column F (F1:F9), select the cell F10, and paste the auto-fill number from F1:F9. See screenshot:

5. And then click Data > Sort, and a Sort Warning dialog box will pop out, select Expand the selection option, and click Sort… See screenshot:

6. And a Sort dialog box will appear, choose number 1 from the Sort by dropdown list and then click the OK button. See screenshot:

Then the new blank rows have been inserted in the exiting rows. See screenshot:

Note: If you would like to insert two or three blank rows between each row, you can copy the new auto-fill column two or three times to add the new rows.


Insert alternate blank rows with VBA code

If the above way is a little complex, you can use the following VBA code to solve it.

1. Press the Alt + F11 keys to open the Microsoft Visual Basic for applications window, then click Insert > Module and input the following code into the Module:

VBA code: Insert blank rows in Excel

Sub InsertBlackRows()
'Updateby20131127
Dim Rng As Range
Dim WorkRng As Range
Dim FirstRow As Integer, xRows As Integer, xCols As Integer
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
FirstRow = WorkRng.Row
xRows = WorkRng.Rows.Count
xCols = WorkRng.Columns.Count
Application.ScreenUpdating = False
WorkRng.Cells(xRows, 1).Resize(1, xCols).Select
Do Until Selection.Row = FirstRow
    Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
    Selection.Offset(-1, 0).Select
Loop
Application.ScreenUpdating = True
End Sub

2. Then click doc-multiply-calculation-3 button or press the F5 key to run the code. In the popping up Kutoos for Excel dialog box, please select the range you will insert blank rows, and then click the OK button. See screenshot:

Then a new blank row has been inserted between every two rows. See screenshot:


Quickly insert specific numbers of blank rows with Kutools for Excel

The above two methods just refer to inserting blank rows between each rows, for inserting a blank row or multiple rows after every nth rows, how should you do? Here I recommend the Insert Blank Rows & Columns utility of Kutools for Excel. This uility can help to quickly insert specific numbers of blank rows after every nth rows into a certain range. Please do as follows.

Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. Get it Now

1. Select the range that you want to insert the blank rows, and click Kutools > Insert > Insert Blank Rows & Columns. See screenshot:

2. In the Insert Blank Rows & Columns dialog box, choose Blank rows in the Insert type section, specify the numbers of interval rows you will insert blank rows based on and number of rows you want to insert, and then click the OK button. See screenshot:

Then you can see certain blank rows have been inserted after every two rows. See screenshots:

Note: the number in the Interval of and Rows can be adjusted to meet your need. For example, you can insert three, four, five… blank rows after every one, two, three… rows.

Tip.If you want to have a free trial of this utility, please go to download the software freely first, and then go to apply the operation according above steps.


Office Tab - Tabbed Browsing, Editing, and Managing of Workbooks in Excel:

Office Tab brings the tabbed interface as seen in web browsers such as Google Chrome, Internet Explorer new versions and Firefox to Microsoft Excel. It will be a time-saving tool and irreplaceble in your work. See below demo:

Click for free trial of Office Tab!

Office Tab for Excel


Quickly insert specific numbers of blank rows with Kutools for Excel


Related articles



Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 300 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Francis · 5 months ago
    Thanks so much for this. Cheers.
  • To post as a guest, your comment is unpublished.
    Peter · 7 months ago
    So I'm running into a situation where a have a couple hundred rows of information. Id like to create a space between specific data. example. I have six rows with "CH-01" in it and then two rows with CH-02- and then three rows of CH-03. What I want to happen is create a blank row between the change of numbers. However I don't have the time or energy to do this for each individual change. Please if anyone has a solution for this problem i'd be so happy!
    • To post as a guest, your comment is unpublished.
      Ken · 1 months ago
      I have the same problem too, have you figured out how to solve this?
  • To post as a guest, your comment is unpublished.
    shaifali · 9 months ago
    wonderful! it worked
  • To post as a guest, your comment is unpublished.
    ahmad · 10 months ago
    thankssssss a lot you are an awesome people.
  • To post as a guest, your comment is unpublished.
    Willi · 1 years ago
    Thaaannkksss its work like magic