Share via

How do I effectively insert blank sheet rows between hundreds of existing rows of data without having to individually click each row/cell?

Anonymous
2011-02-27T19:22:20+00:00

I am working with hundreds of rows of contiguous data and I need to separate the rows with a blank row. When I attempt to select ALL the rows as a group, and then a click "Insert Sheet Rows" from the Insert function on the Home tab, Excel inserts new rows directly above my existing data and not between the rows as anticipated.

I have discovered that if I hold down the Ctrl key on the keyboard, and individually select the first (blank) cell of each row that contains data; then go to the “Home” tab, click the drop-down arrow for the “Insert” function and then select “Insert Sheet Rows” from the context menu; I can successfully insert rows between the existing rows of data. As you can imagine, this task is exceedingly tedious and time consuming, because I am forced to click hundreds of times to select each cell/row individually.

How do insert a blank row between each existing row after selecting ALL of the existing rows as a group?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

13 answers

Sort by: Most helpful
  1. Anonymous
    2011-03-01T17:42:33+00:00

    Try the below.

    1. Suppose you have data in A1:C10. Enter 1, 2 .....upto..10; in cell D1, D2 , ..upto..D10
    2. Copy D1:D10 and copy to D11 ....so that the numbers 1 to 10 will be in D1:D10 and D11:D20.
    3. Now select the range A1:D20 and sort by Col D...
    4. Now delete the temporary column D.
    5 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2011-03-01T18:36:21+00:00

    step 1 - select a blank column to be the "key column".  (you can either insert one at Column A or use the last empty column in your table)

    -

    step 2 - use the key column to number your first group of rows between 1 to 99.  if you use a forumula, be sure to copy of the formulas and then paste them back into their respective cells as "values".   

    -

    the result above will be that your first group of rows are number between 1 and 100 via the key column.  the key column will temporarily be customized row numbers.

    -

    step 3 - next re-number the rows between 101 and 200.  use a formula in their key column to re-number these blank rows like the first group but add a decimal point. 

    -

    for example the row 101 should get the value of 1.1 in the key column.  row 102 should get the value of 2.1.  row 103 should get the value of 3.1 and so on until row 200.   (again copy their formulas and paste them back into their respective cells as values).

    -

    step 4 - next number rows between 201 to 300.  again in their key columns create a formula to assign row 201 with the value of 1.2.   row 202 with the value of 2.2 and row 203 with 3.2, etc...  ( replace the formulas with values.)

    -

    step 5 - here is the magic - now sort your table via the key column.

    -

    lastly, since it is unclear how much data (values, formulas, links, formatting, etc) you are sorting vs how much cpu and memory power you have.  so you may end up scrambling your data.

    -

    as a precaution i highly recommend to (1) use the methodology on a copy of your spreadsheet and (2) be sure you have no programs other than excel running.  so temporarily disable your internet and your anti virus program to give your computer maximum power to sort all your data and ensure there are no interruptions while it is in a state of maximum processing.

    4 people found this answer helpful.
    0 comments No comments
  3. HansV 462.6K Reputation points MVP Volunteer Moderator
    2011-02-27T20:19:21+00:00

    You can use a macro:

    Sub InsertRows()

      Dim r As Long

      Application.ScreenUpdating = False

      For r = Selection.Rows.Count To 2 Step - 1

        Selection.Rows(r).Insert Shift:=xlShiftDown

      Next r

      Application.ScreenUpdating = True

    End Sub

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2011-03-01T17:26:46+00:00

    it's "elegant logic".   let me know how many row's you actually have in order to make the explanation more exacting.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2011-02-27T22:18:02+00:00

    you can use a formula if you don't want use a macro.

    1 person found this answer helpful.
    0 comments No comments