View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Greg Wilson Greg Wilson is offline
external usenet poster
 
Posts: 747
Default Average data from different spreadsheets

Try:

=AVERAGE(OFFSET(INDIRECT("B!" & ADDRESS(3*ROW()-2, 2*COLUMN() - 1)), 0, 0,
3, 2))

- where "B" is the actual sheet name.

Best regards,
Greg

" wrote:

need a quick formulae help from you in excel.





This is what am trying to do.



I have 2 sheets (A and B ) . From sheet B am taking the average of (A1:
B3) and want it in the A1 cell of sheet A. To put it concisely



sheet A



A1 Average (SheetB!(A1:B3))
B1 Average( SheetB!(C1:D3))



A2 Average (SheetB!(A4:B6))
B2 Average( SheetB!(C4:D6)) and so on.





sheet B has (60*48) cells



I want a common formulae or macro to do this but not sure how to go
about using offset or index functions for the same.



Will be helpful if you have some thoughts on this.