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

Kutools for Excel: add 120 new features in Excel. Save one hour every day.
Classic Menu for Office: brings back classic menus to Office 2010 and 2013 (includes Office 365).
Office Tab: brings tabbed interface to Office as the use of web browser Chrome, Firefox and Internet Explorer.

arrow blue right bubble Insert blank rows with Sort function

Hot
Amazing! Using Tabs in Excel like Firefox, Chrome, Internet Explore 10!

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:

doc-insert-blank-rows1

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 Column F from the Sort by dropdown list. See screenshot:

7. Click OK. Then delete the column F. And 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.


arrow blue right bubble Insert alternate blank rows with VBA code

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

1. Click Developer > Visual Basic, a new Microsoft Visual Basic for applications window will be displayed, click Insert > Module, and input the following code into the Module:

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 to run the code, then a dialog is diaplayed on the screen for you to select a range to insert blank rows, see screenshot:

3. Click Ok, and a new blank row will be inserted between every two rows. See screenshots:


arrow blue right bubble Quickly insert specific numbers of blank rows with Kutools for Excel

The two methods all just refer to inserting blank rows between each rows, if I want to insert a blank row after every nth rows, how should I do?

The tool Insert blank rows & columns of Kutools for Excel can help you to do this quickly and easily.

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

After installing Kutools for Excel, please do as this:

1. Select the range that you want to insert the blank rows.

2. Click Kutools > Insert Tools > Insert Blank Rows & Columns…, see screenshot:

3. In the Insert Blank Rows & Columns dialog box, choose Blank rows from Insert type, and then specify the numbers into Interval of and Rows box that you need. See screenshot:

4. Then click OK. And the 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.

Click to know more about this Insert Blank Rows & Columns feature.


Related articles:

Quickly insert blank column every other column

Insert multiple blank rows or columns at once


Kutools for Excel

More than 120 Advanced Functions for Excel 2013, 2010, 2007 and Office 365.

screen shot

btn read more     btn download     btn purchase

Comments  

0#maximus2014-02-08 08:14
Thank you. It was helpful.
Reply | Reply with quote | Quote
0#Evan2014-02-19 15:58
Worked perfectly. Thanks for the help.
Reply | Reply with quote | Quote
0#ruff2014-02-20 07:41
excelent...thanks a lot.
Reply | Reply with quote | Quote
0#g2014-03-06 16:37
Amazing! Was really simple and came out perfect! Thank you
Reply | Reply with quote | Quote
0#Benjy2014-04-15 09:25
It's what I need, many thanks!! Excellent!!
Reply | Reply with quote | Quote
0#Milind Joshi2014-04-24 12:48
Excellent stuff !!!!!!!!!!!!!!
Reply | Reply with quote | Quote
0#ajeem2014-05-28 10:45
very help full. thanks to you
Reply | Reply with quote | Quote
0#Fahim2014-07-16 19:09
I want to insert two rows in between data please help
Reply | Reply with quote | Quote

Add comment


Security code
Refresh