LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Averaging Values from Sheets in Array


I have an array- Cuts(phasenum, channelnum, sheetnum). The array hold
the names of worksheets that correspond to each phasenum/channelnu
combination. The third argument is dimensioned to 5 elements, but ther
may be a different number of sheets for each phasenum/channelnu
combination.

What I need to do is average the value of a certain cell in all th
worksheets of each phasenum/channelnum combination. For example, ther
are 3 worksheets for phasenum = 1 and channelnum = 2. So I want to b
able to take the average of the value in cell "A1" in the worksheet
whose names are stored in Cuts(1, 2, 1), Cuts(1, 2, 2), and Cuts(1, 2
3).

I can probably do this using For...Next loops and If statements, but
need to make about 40 similar calculations so is there an easier way
Can I use an array formula on an array?

Let me know if something needs to be clarified.

Thanks,
Li

--
Liz10185Posted from http://www.pcreview.co.uk/ newsgroup acces

 
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
averaging from different sheets and folders JD Excel Worksheet Functions 1 August 6th 09 02:41 AM
averaging range across sheets after transforming text to value Keith Excel Worksheet Functions 3 January 4th 07 07:51 PM
Averaging using relative references across sheets [email protected] Excel Discussion (Misc queries) 0 January 30th 06 01:57 PM
Averaging Array Formula Michael Link Excel Discussion (Misc queries) 5 December 14th 05 10:41 PM
Looping through Sheets and passing values to an Array Michael Rhein Excel Programming 2 February 13th 04 10:54 AM


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