Skip to main content

How to quickly insert space between each row in Excel?

Author Sun Last modified

In Excel,you can use the right click menu to select a row above active row, but do you know how to insert blank rows in each row as below screenshot shown? Here I introduce some tricks on solving this job quickly.
insert space between each row

Insert blank rows between each row by Sort function

Insert blank rows/columns between each row/column by Kutools for Excelgood idea3

Insert blank rows between each row by VBA code


Insert blank rows between each row by Sort function

To insert blank rows between each row, you can fill a series of numbers twice firstly, then sort the numbers.

1. In adjacent number, fill a series of numbers to match the row number.
fill a series of numbers in adjacent column

2. Copy the series numbers, and paste them in the cell following the last number.
Copy and paste the series numbers in the cell following the last number

2. Select all series numbers, click Data > Sort Smallest to Largest.
click Data > Sort Smallest to Largest

3. In the popping Sort Warning dialog, keep Expand the selection option checked, click Sort.
keep Expand the selection option checked

Now the spaces have been inserted between each row. You can remove the series number column later.
the spaces have been inserted between each row


Insert blank rows/columns between each row/column by Kutools for Excel

If you want to insert blank rows or columns between each row or column quickly and easily, you can use Kutools for Excel’s Insert Blank Rows & Columns utility, which you can specify the interval of rows and number of blank rows as you need.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After installing Kutools for Excel, please do as below:

1. Select the data range you want to insert blank rows or columns, click Kutools > Insert > Insert Blank Rows & Columns.
 click Insert Blank Rows & Columns feature of kutools

2. In the Insert Blank Rows & Columns dialog, check Blank rows or Blank columns as you need, and specify the options of Interval of and Rows.
set options in the dialog box

3. Click Ok.

Inert blank rows between each row  Insert blank column between each column
Inert blank rows between each row	Insert blank column between each column

Tip: this utility supports undo Ctrl + Z.


Insert blank rows between each row by VBA code

If you are familiar with macro code, here is a code also can help you.

1. Press Alt + F11 keys to enable Microsoft Visual Basic for Applications window.

2. Click Insert > Module, then copy and paste below code to the module.

VAB: Insert space between rows

Sub RowsInsertInSelectCells()
'UpdatebyExtendoffice20180801
Dim xWS As Worksheet
Dim xCR, xR, xCC, xC, xFC, xFR As Long
Dim xFNum As Integer
Dim xRg, xCRg As Range
    On Error Resume Next
    If ActiveWindow.RangeSelection.Count > 0 Then
      xTxt = ActiveWindow.RangeSelection.AddressLocal
    Else
      xTxt = ActiveSheet.UsedRange.AddressLocal
    End If
    Set xWS = ActiveWorkbook.ActiveSheet
    Set xRg = Application.InputBox("please select the data range:", "Kutools for Excel", xTxt, , , , , 8)
    If xRg Is Nothing Then Exit Sub
    If xRg.Count > 0 Then
        xCR = xRg.Rows.Count
        xCC = xRg.Columns.Count
        xR = xRg.Row
        xC = xRg.Column
   Application.ScreenUpdating = False
    For xFC = 0 To xCC - 1
        For xFR = xCR To 1 Step -1
            xWS.Cells(xR + xFR, xC + xFC).Insert
        Next
    Next xFC
    Application.ScreenUpdating = True
    End If

End Sub

3. Press F5 key to run the code, a dialog pops out to remind you to select the working data.
vba code to select the data range

4. Click OK. Now the spaces have been inserted between selected rows.
 the spaces have been inserted between selected rows

Demo: Insert blank rows or columns with specific intervals

 

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!