Follow Along With This Workbook

If you ever need to insert multiple blank rows into your data, doing it manually could be very time consuming if you have a large data set. Here’s a quick way to do this by inserting a blank row into your data after every Nth record.

 

Step-001-How-To-Insert-Every-Nth-Row How To Insert Every Nth Row

 

I realize it’s a bit of cluster bomb and I might have put a bit too much in it 🙁 To accomplish our task we’re going to need to add a helper column.

  1. Add a column to the right of your data. If the helper column is in E1, then add this formula into E2 and copy it down to the end of the data. Change N to a number (5 if you want every 5th row etc…).
    =MOD(ROW(E2)-ROW($E$1)-1,N)

    Now highlight the whole column.

  2. Go to the Home tab in the ribbon.
  3. In the Editing section, press the Find & Select button.
  4. In the drop down menu, select Find. You can also use the Ctrl + F keyboard shortcut to open the Find and Replace window.
  5. In the Find what input type in 0.
  6. Press the Options button to reveal the advanced search options.
  7. Select Sheet from the Within drop down list.
  8. Select Formulas from the Look in drop down menu.
  9. Press the Find All button.
  10. Select all the results by pressing Ctrl + A.
  11. Press the Close button.

 

Step-002-How-To-Insert-Every-Nth-Row-1024x655 How To Insert Every Nth Row

 

All the zero’s in our helper column should now be selected and we can now insert our rows.

  1. Left click on one of the selected cells.
  2. Select Insert in from the menu.
  3. Select Entire row.
  4. Press the OK button.

 

Step-003-How-To-Insert-Every-Nth-Row How To Insert Every Nth Row

 

Sweet, now we’ve got a blank row every Nth record.