Blank Rows

miroj1

Board Regular
Joined
May 6, 2002
Messages
52
Hello again Excel masters.
I have a 1000 row list and I want to put a blank row in between every filled row. Is there a quick way to do this?
Thanks for your help.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Mark W.

MrExcel MVP
Joined
Feb 10, 2002
Messages
11,654
Number your rows sequentially as I did in the blue bordered range below. Duplicate those numbers (red bordered range) direcly below the 1st set of numbers.
Book1
ABCDE
1filledfilledfilledfilled1
2filledfilledfilledfilled2
3filledfilledfilledfilled3
4filledfilledfilledfilled4
5filledfilledfilledfilled5
6filledfilledfilledfilled6
7filledfilledfilledfilled7
8filledfilledfilledfilled8
91
102
113
124
135
146
157
168
Sheet1


Sort on the column containing those numbers (column E) to get...
Book1
ABCDE
1filledfilledfilledfilled1
21
3filledfilledfilledfilled2
42
5filledfilledfilledfilled3
63
7filledfilledfilledfilled4
84
9filledfilledfilledfilled5
105
11filledfilledfilledfilled6
126
13filledfilledfilledfilled7
147
15filledfilledfilledfilled8
168
Sheet1

This message was edited by Mark W. on 2002-09-04 16:15
 

zacemmel

Well-known Member
Joined
Apr 29, 2002
Messages
636
=IF(ISODD(ROW(A1)),INDIRECT("A"&ROUNDUP(ROW(A1)/2,0)),"")

Use that formula assuming you have the analysis toolpak installed and your data is in column A.
 

Forum statistics

Threads
1,144,328
Messages
5,723,730
Members
422,512
Latest member
MHau5

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top