Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default static array

Hi, Using a static array, with 100 values. is it possible to average
the last 20 values, and if i add another 20 values, to average agian.
In other words always averge the last 20 values.
Regards Robert

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default static array

Try using the offset function within your average function: e.g., =average
(offset($B$5,$b$1,1,20,1)). Using this example, the trick will be coming up
with a formula for cell B1, but it shouldn't be too hard. Good luck.


wrote:
Hi, Using a static array, with 100 values. is it possible to average
the last 20 values, and if i add another 20 values, to average agian.
In other words always averge the last 20 values.
Regards Robert


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200603/1
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 80
Default static array

Thanks for your reply, Idont think this will work as the static array
is created in vba.
Regards Robert

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
meaning of : IF(Switch; Average(array A, array B); array A) DXAT Excel Worksheet Functions 1 October 24th 06 06:11 PM
Load a static array at procedure level XP Excel Programming 1 March 10th 06 04:27 PM
"Static" Behavior without Static Defn Steve Drenker[_2_] Excel Programming 1 March 2nd 06 01:33 AM
Lookup from Static List/Array Support Excel Worksheet Functions 2 February 17th 06 06:40 PM
keeping a sum array static cmattmills Excel Worksheet Functions 4 February 8th 06 05:45 PM


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