Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Average of column with changing numbers of records

I'm trying to find the average of a column of numbers by suming and dividing
by the number of records i.e. =sum(a1:a100)/100. Is there anyway I can use
the number of records to replace the 'divided by number' i.e.
=sum(a1:a10)/number of records or cells with a values greater than 0 when the
are only for instance 50 recored in the column?
I want to get away from having to change the 'devided by' number so when I
add records the 'devided by' value increases.

Cheers
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default Average of column with changing numbers of records


Perhaps use DAVERAGE instead?

Bikertyke wrote:

I'm trying to find the average of a column of numbers by suming and dividing
by the number of records i.e. =sum(a1:a100)/100. Is there anyway I can use
the number of records to replace the 'divided by number' i.e.
=sum(a1:a10)/number of records or cells with a values greater than 0 when the
are only for instance 50 recored in the column?
I want to get away from having to change the 'devided by' number so when I
add records the 'devided by' value increases.

Cheers


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Average of column with changing numbers of records

Try it this way:

=SUM(A1:A100)/COUNTIF(A1:A100,"0")

Hope this helps.

Pete

"Bikertyke" wrote in message
...
I'm trying to find the average of a column of numbers by suming and
dividing
by the number of records i.e. =sum(a1:a100)/100. Is there anyway I can use
the number of records to replace the 'divided by number' i.e.
=sum(a1:a10)/number of records or cells with a values greater than 0 when
the
are only for instance 50 recored in the column?
I want to get away from having to change the 'devided by' number so when I
add records the 'devided by' value increases.

Cheers



  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Average of column with changing numbers of records

You could use this, in B1, array-entered*:
=AVERAGE(IF(A1:A1000,A1:A100))

*press CTRL+SHIFT+ENTER to confirm the formula
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---
"Bikertyke" wrote:
I'm trying to find the average of a column of numbers by suming and dividing
by the number of records i.e. =sum(a1:a100)/100. Is there anyway I can use
the number of records to replace the 'divided by number' i.e.
=sum(a1:a10)/number of records or cells with a values greater than 0 when the
are only for instance 50 recored in the column?
I want to get away from having to change the 'devided by' number so when I
add records the 'devided by' value increases.

Cheers

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Average of column with changing numbers of records

what about using a countif function,

(ie countif 0)

"Bikertyke" wrote:

I'm trying to find the average of a column of numbers by suming and dividing
by the number of records i.e. =sum(a1:a100)/100. Is there anyway I can use
the number of records to replace the 'divided by number' i.e.
=sum(a1:a10)/number of records or cells with a values greater than 0 when the
are only for instance 50 recored in the column?
I want to get away from having to change the 'devided by' number so when I
add records the 'devided by' value increases.

Cheers



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Average of column with changing numbers of records

Thanks for the ideas... you're stars.

"Bikertyke" wrote:

I'm trying to find the average of a column of numbers by suming and dividing
by the number of records i.e. =sum(a1:a100)/100. Is there anyway I can use
the number of records to replace the 'divided by number' i.e.
=sum(a1:a10)/number of records or cells with a values greater than 0 when the
are only for instance 50 recored in the column?
I want to get away from having to change the 'devided by' number so when I
add records the 'devided by' value increases.

Cheers

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
Average highest 16 numbers on a column of 32 numbers Frank[_10_] Excel Worksheet Functions 3 May 2nd 08 02:44 AM
How to average a column of numbers that are greater than 0? JimNColorado Excel Worksheet Functions 13 December 11th 07 01:22 AM
Changing column of numbers made of formulas to just numbers CJ Excel Discussion (Misc queries) 2 June 14th 06 02:13 PM
Sum/average numbers in column A dependant on value in column B Sue Excel Worksheet Functions 3 March 29th 06 06:39 PM
Average first 3 numbers in column e.g. 130 in 130/82 gadmire New Users to Excel 6 January 28th 06 01:15 PM


All times are GMT +1. The time now is 05:49 AM.

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"