Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() 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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Average highest 16 numbers on a column of 32 numbers | Excel Worksheet Functions | |||
How to average a column of numbers that are greater than 0? | Excel Worksheet Functions | |||
Changing column of numbers made of formulas to just numbers | Excel Discussion (Misc queries) | |||
Sum/average numbers in column A dependant on value in column B | Excel Worksheet Functions | |||
Average first 3 numbers in column e.g. 130 in 130/82 | New Users to Excel |