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. Heres a quick way to do this by inserting a blank row into your data after every Nth record.
I realize its a bit of cluster bomb and I might have put a bit too much in it To accomplish our task were going to need to add a helper column.
- 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.
- Go to the Home tab in the ribbon.
- In the Editing section, press the Find & Select button.
- In the drop down menu, select Find. You can also use the Ctrl + F keyboard shortcut to open the Find and Replace window.
- In the Find what input type in 0.
- Press the Options button to reveal the advanced search options.
- Select Sheetfrom the Within drop down list.
- Select Valuesfrom the Look in drop down menu.
- Press the Find All button.
- Select all the results by pressing Ctrl + A.
- Press the Close button.
All the zeros in our helper column should now be selected and we can now insert our rows.
- Left click on one of the selected cells.
- Select Insert in from the menu.
- Select Entire row.
- Press the OK button.
Sweet, now weve got a blank row every Nth record.