LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Herbert Seidenberg
 
Posts: n/a
Default Pulling Data from an Array

11/1/2002 11/2/2002 11/3/2002 11/4/2002 11/5/2002
11/6/2002
FF100 25 51 180 0 0
0
FF101 0 100 0 0 0
0
FF102 26 0 0 75
150 0
FF103 0 0 0 0
0 151
FF104 0 0 0 0
0 0
FF105 27 101 0 0
0 0
FF106 0 0 0 0
0 0
FF107 50 29 0 76
30 0
FF108 28 0 0 0
0 0

model date quantity
FF100 11/1/2002 25
FF101 11/1/2002 0
FF102 11/1/2002 26
FF103 11/1/2002 0
FF104 11/1/2002 0
FF105 11/1/2002 27
FF106 11/1/2002 0
FF107 11/1/2002 50
FF108 11/1/2002 28
FF100 11/2/2002 51
FF101 11/2/2002 100
FF102 11/2/2002 0
FF103 11/2/2002 0
FF104 11/2/2002 0
FF105 11/2/2002 101
FF106 11/2/2002 0
FF107 11/2/2002 29
FF108 11/2/2002 0
FF100 11/3/2002 180
..... ..... .....

Tools Options General R1C1 reference
Select the first array with all headers and
Insert Name Define array_gg
Select the 9 x 6 array of numbers and
Insert Name Define array_ff
Also define these names:
colm2 Refers To
=ROW(INDEX(C1,1):INDEX(C1,ROWS(array_ff)*COLUMNS(a rray_ff)))
colm3 Refers To
=FLOOR(colm2-1,ROWS(array_ff))/ROWS(array_ff)+1
rowm2 Refers To
=MOD(colm2-1,ROWS(array_ff))+1
Enter these array formulas (SCE) into the 9 x 6 rows deep
model, date and quantity columns:
=INDEX(array_gg,rowm2+1,1)
=INDEX(array_gg,1,colm3+1)
=INDEX(array_ff,rowm2,colm3)
Remove the rows with zero quantity with
Copy, Paste Value,
Advanced Filter,
Copy to another location, Criteria quantity <0
Change back to A1 reference if you prefer.

 
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
Please add an INTERPOLATE function. For vector or array data. Dan Gauthier Excel Worksheet Functions 15 August 4th 09 01:48 PM
Charts not recognizing source data if original linked data is changed. JLC Charts and Charting in Excel 3 October 14th 05 01:29 AM
Pulling data from yyyyMMMMdd.xls Mike Punko Charts and Charting in Excel 0 August 23rd 05 05:26 PM
How do I return an entire row of data from a reference array? tvmodica Excel Worksheet Functions 2 January 7th 05 08:52 PM
Extending a Chart Data Series from an Array - Can it be done? Jon Peltier Charts and Charting in Excel 4 November 30th 04 03:30 AM


All times are GMT +1. The time now is 03:00 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"