Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Need help (Average excluding zero values)

This is what i have & it works but one problem there will be zero values & i
need to exclude them if possible
=AVERAGE(IF(AA5="L",E$5:E$65))
I have tried several different combinations I can,t get it
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,494
Default Need help (Average excluding zero values)

that includes zero values in the average for me. are they blanks and not zeroes?

--


Gary Keramidas
Excel 2003


"Mike" wrote in message
...
This is what i have & it works but one problem there will be zero values & i
need to exclude them if possible
=AVERAGE(IF(AA5="L",E$5:E$65))
I have tried several different combinations I can,t get it


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default Need help (Average excluding zero values)

Is you aim to compute the average only when AA5 ="L" ?
Then you formula should be =IF(AA5="L", AVERAGE(E$5:E$65), "")

To omit zeros in the average
=IF(AA5="L",AVERAGE(IF(E$5:E$65<0,E$5:E$65)),"")
This is an array formula and Excel will enclose in in braces { ... }

This is a non-array formula that does the same
=IF(D1="L",SUM(A1:A7)/COUNTIF(A1:A7,"<0"),"")
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Mike" wrote in message
...
This is what i have & it works but one problem there will be zero values &
i
need to exclude them if possible
=AVERAGE(IF(AA5="L",E$5:E$65))
I have tried several different combinations I can,t get it


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
getting an average while excluding high and low input obivaughn Excel Worksheet Functions 0 September 30th 09 07:55 PM
Average of values in row excluding the highest and lowest value? frosterrj Excel Worksheet Functions 18 November 22nd 06 07:28 PM
excluding valuse from an average toot033 Excel Discussion (Misc queries) 2 April 11th 06 01:41 PM
AVERAGE excluding #N/A RonB Excel Worksheet Functions 3 February 2nd 05 08:25 PM
EXcluding Zeros from the average in a row Geo Excel Discussion (Misc queries) 4 December 31st 04 04:07 PM


All times are GMT +1. The time now is 07:16 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"