Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Goody
 
Posts: n/a
Default Averages: Exclude Rows with 0 Values

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?

  #2   Report Post  
JulieD
 
Posts: n/a
Default

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
"Goody" wrote in message
...
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?



  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

One way:

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

HTH
Jason
Atlanta, GA

-----Original Message-----
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?

.

  #4   Report Post  
Goody
 
Posts: n/a
Default

Thanks!! It worked great!

"JulieD" wrote:

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
"Goody" wrote in message
...
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?




  #5   Report Post  
JulieD
 
Posts: n/a
Default

you're welcome and thanks for the feedback

"Goody" wrote in message
...
Thanks!! It worked great!

"JulieD" wrote:

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
"Goody" wrote in message
...
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?








  #6   Report Post  
Goody
 
Posts: n/a
Default

Thanks! That worked great too...

"Jason Morin" wrote:

One way:

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

HTH
Jason
Atlanta, GA

-----Original Message-----
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?

.


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
How do I lookup values from rows and columns Simultaneously PK Excel Worksheet Functions 2 March 29th 05 04:34 PM
How to copy values in various rows automatically Me Excel Discussion (Misc queries) 5 March 7th 05 05:09 PM
Formula to compare multiple rows values based on another column? Murph Excel Worksheet Functions 4 February 21st 05 02:44 AM
Lookup values in a list and return multiple rows of data Amanda L Excel Worksheet Functions 2 December 2nd 04 04:48 PM
Identifying exact values in alternate rows YG Excel Worksheet Functions 1 November 2nd 04 11:25 PM


All times are GMT +1. The time now is 11:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"