Averages: Exclude Rows with 0 Values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I use a spreadsheet in a fantasy racing league. I would like to show what
the player's weekly average score is, but I want to ignore future races
(current values are 0). Am I making this more difficult than it really is?
 
Hi Goody

use an array function such as
=AVERAGE(IF(A5:A10<>0,A5:A10,FALSE))
as it's an array function you'ld need to commit it using CONTROL & SHIFT &
ENTER instead of just enter.
 
One way:

=SUM(A2:A20)/COUNTIF(A2:A20,"<>0")

HTH
Jason
Atlanta, GA
 
Thanks!! It worked great!

JulieD said:
Hi Goody

use an array function such as
=AVERAGE(IF(A5:A10<>0,A5:A10,FALSE))
as it's an array function you'ld need to commit it using CONTROL & SHIFT &
ENTER instead of just enter.

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top