"donh" <(E-Mail Removed)> wrote
> Max,
> Thanks for taking time to reply! I think I understand now!
Glad to hear that ..
> Two further questions (one of which could deserve a different heading)
urgh .. sad to hear that <g>
> Can you have =SMALL(A:A,ROW())
> start part way down a column to allow
> for headers, or is this better left to a separate display table.
You can, but you'd need to adjust for this.
If you want to start the extracts from row2 down instead of the top row
Put in A2:
=IF(INDEX(Sheet1!$2:$2,ROW()-1)<$H$5,ROW(),"")
(Leave A1 blank)
Put in B2:
=IF(ROW()-1>COUNT(A:A),"",INDEX(Sheet1!$1:$1,SMALL(A:A,ROW()-1)-1))
Select A2:B2, then copy down by 31 rows to B32.
(B1 can contain a header)
The "-1" parts above are the required arithmetic adjustments.
> Which links me on to my next question. So far I have an overview of
> each location on a separate sheet with your formula being duplicated
> 12 times to give me a view of the whole year, but I would also like to
> bring this together in an a grand overview which sees all twelve
> months data from the columns you have helped me with stacked on top of
> one another (without gaps) which I can then combine (in different
> columns) with all the other locations. Headers allowed would be good.
One way to achieve this ..
First, in an empty col, just use simple link formulas to stack sequentially
the outputs from each of the twelve "31 cell" column ranges. Example, if you
have month1's outputs in B2:B32, month2's outputs in D2

32, etc, then using
say, col AA, put in AA2: =B2, copy down to AA32, then put in AA33: =D2, copy
down to AA63, and so on (a one-time job).
Then place in AB2: =IF(OR(AA2={"",0}),"",ROW())
(Leave AB1 blank)
Place in AC2:
=IF(ROW()-1>COUNT(AB:AB),"",INDEX(AA:AA,SMALL(AB:AB,ROW()-1)))
Select AB2:AC2, fill down to the last row in col AA. Col AC will return the
required stacked results (w/o gaps) for your grand overview
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---