Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2006

Tip: Looking for answers? Try searching our database.

static array

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RobcPettit@yahoo.co.uk - 21 Mar 2006 22:12 GMT
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
cholley - 21 Mar 2006 23:37 GMT
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.

>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
RobcPettit@yahoo.co.uk - 22 Mar 2006 08:20 GMT
Thanks for your reply, Idont think this will work as the static array
is created in vba.
Regards Robert
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.