H
Harvey Waxman
I tried the following in column D copied as an array as per instructions:
=average(if($a$1:$a$100>200000,$a$1:$a$100))
where Column A contains the range of values and this is the frequency result:
B C D
1 100 2 { =average(if($a$1:$a$100>200000,$a$1:$a$100))}
2 1000 68 "
3 2000 28 "
4 5000 383 "
5 10000 229
6 20000 22
7 50000 8
8 200000 5
I got #div/0 errors in all the cells in column D.
I also tried:
=SUMIF($a$1:$a$100,"<=100")/c1 in column D entered as an array
No errors but the results were all the same and made no sense.
Clearly I misunderstand the directions.
--
Harvey Products makers of Dinghy Dogs
The Boater's Best Friend
http://www.dinghydogs.com
Ladies' handbags and accessories
http://www.deducktibles.com
Remove thefrown to email me
=average(if($a$1:$a$100>200000,$a$1:$a$100))
where Column A contains the range of values and this is the frequency result:
B C D
1 100 2 { =average(if($a$1:$a$100>200000,$a$1:$a$100))}
2 1000 68 "
3 2000 28 "
4 5000 383 "
5 10000 229
6 20000 22
7 50000 8
8 200000 5
I got #div/0 errors in all the cells in column D.
I also tried:
=SUMIF($a$1:$a$100,"<=100")/c1 in column D entered as an array
No errors but the results were all the same and made no sense.
Clearly I misunderstand the directions.
If you choose to have no bin in the last cell (I do, just for
completeness), use (array-entered)
=AVERAGE(IF($A$1:$A$100>90,$A$1:$A$100))
where 90 is the value in your highest bin.
Make sure you take a look at Help, but in this case, the SUMIF() looks
at all the values in A1:A100, and if their value is less than or equal
to 10, sums them. That sum is divided by the value returned by Frequency
for your first bin - i.e., the number of cells with values <=10. You
could use
=SUMIF($A$1:$A$00,"<=10",$A$1:$A$100)/C1
to specify that A1:A100 is the range to be added, but the default is to
add the same range as the criterion is evaluated over.
--
Harvey Products makers of Dinghy Dogs
The Boater's Best Friend
http://www.dinghydogs.com
Ladies' handbags and accessories
http://www.deducktibles.com
Remove thefrown to email me