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 Calculating Average on variable sized datasets w/VBA

I am having difficulty determining the best way to calculate the averag
value of a variable length dataset w/VBA. Additionally, I would lik
to loop the average calculation across all datasets in the column an
display the calculated value.

Each dataset is followed by a blank cell and then another datase
begins. I'm assuming that I can calculate the average until a nul
value is encountered. An example dataset follows:

0.049
0.0495
0.05
0.0504
0.0509
0.0513

0.049
0.0495
0.05
0.0505
0.0509
0.0514
0.0517
0.0521
0.0525
0.0528
0.0531
0.0535
0.0537
0.0539
0.0551

0.0489
0.0517
0.0521
0.0525
0.0528


This is an integral component of the macro I am creating, so I am ver
greatful for any help.

Thank

--
Message posted from http://www.ExcelForum.com

 
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
SUMIF/SUMPRODUCT Criteria are Variable Sized Thomas [PBD] Excel Discussion (Misc queries) 3 May 19th 08 05:19 PM
Using variable sized range in CountIf() [email protected][_2_] Excel Discussion (Misc queries) 1 October 24th 07 11:15 AM
Printing a legal sized document on letter sized paper Paula O. Excel Programming 0 February 2nd 04 06:55 PM
Variable sized average macro/function danwtf2004 Excel Programming 2 January 29th 04 10:11 PM
Summing a variable sized range programmatically Norma[_2_] Excel Programming 3 August 24th 03 07:31 PM


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