Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 65
Default how do insert multiple rows in between multiple lines

I have about 100 rows of information and I need to insert 8 blank rows in
between each of the 100 rows - does any one know how to to this automatically?
  #2   Report Post  
Posted to microsoft.public.excel.misc
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default how do insert multiple rows in between multiple lines

One way you can do it w/o VBA - let's say your data is in B1:B100 and your
sheet has no data below row 100. Using a helper column (let's say column A)
enter

1
10
19

Then, select these three cells (A1:A3) and drag down to A100. Then in A101
enter 2 and in A102 enter

=IF(ISNUMBER(MATCH(A101+1, $A$1:$A$100,0)), A101+2, A101+1)

and copy down until you get a number that is one less than the number that
is in cell A100 (891 in this example). Then, hardcode the data in A101:A892
and Copy/Paste Special - Values to hardcode the data.

Then sort both columns using Column A as the key. Then delete the numbers
in Column A.




"Ernie" wrote:

I have about 100 rows of information and I need to insert 8 blank rows in
between each of the 100 rows - does any one know how to to this automatically?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert rows based on specific value bob Excel Worksheet Functions 6 February 29th 08 07:11 PM
COUNTIF in between rows Vasilis Tergen Excel Worksheet Functions 20 January 13th 07 10:22 PM
Insert Variable Number of Rows; With Loop ryguy7272 Excel Worksheet Functions 2 December 27th 06 08:25 PM
Insert Multiple Rows Critzy Excel Discussion (Misc queries) 5 November 15th 06 05:43 PM
INSERT ROWS WITHOUT SCREWING-UP FORMULAS! BILL GATES - I WANNA WORD WITH YOU! Excel Worksheet Functions 1 March 4th 05 01:32 PM


All times are GMT +1. The time now is 08:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"