Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Generating different numbers of rows depending on data

I have a row of data in cells a1:d1 Each cell has a value of either 0,1,2 or 3
lets assume the row contains 1,3,0,2 (these are calculated elsewhere and are
not unique - it is a "random" lists of 0's, 1's etc

I have created rows of data that have generated data in them. Lets say the
row is 1,2,5,9,8,4 (again this data is generated elsewhere) - this is an
intermediate row in say row 99 so a99=1, b99=2, c99=5, d99=9 and so on

I want to create a number of rows starting in row 5 that are created
according to the data in row 1, such that in my example the 99 row is created
1 times at row 5, then offset to the right by1 cell and created 3 times in
rows 6,7,8, then offset by 1 and created 0 times, then offset by 1 and
created 2 times in rows 9,10.

So the sheet starting in row 5 would look like (~ is a blank cell)

1,2,5,9,8,4~~~
~1,2,5,9,8,4~~
~1,2,5,9,8,4~~
~1,2,5,9,8,4~~
~~~1,2,5,9,8,4
~~~1,2,5,9,8,4

I have complete freedom over what goes on, so for example if i needed to
create a column that was simply row 1 rotated i could do that.

Thanks in advance for your help.

Dave

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
printing different numbers of rows of results depending on user in ajmaschinot Excel Discussion (Misc queries) 1 August 6th 08 08:53 PM
Automatically vary range in graph depending on #rows data entered? dalek Charts and Charting in Excel 1 July 2nd 08 04:45 AM
Generating Unique Numbers Meredith Excel Discussion (Misc queries) 4 December 4th 07 03:01 PM
Generating Random numbers. Tyler Excel Discussion (Misc queries) 3 September 22nd 07 09:48 PM
create self-generating numbers with letters and numbers cxlough41 Excel Discussion (Misc queries) 11 January 4th 06 01:16 AM


All times are GMT +1. The time now is 02:11 AM.

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

About Us

"It's about Microsoft Excel"