ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   skip 0 average (https://www.excelbanter.com/excel-discussion-misc-queries/262303-skip-0-average.html)

Ken

skip 0 average
 
How do average a colum of numbers? I will ignore the $0 number.

Thank you very much!

T. Valko

skip 0 average
 
One way...

Try this array formula** :

=AVERAGE(IF(A1:A20<0,A1:A20))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"Ken" wrote in message
...
How do average a colum of numbers? I will ignore the $0 number.

Thank you very much!




Dana DeLouis[_3_]

skip 0 average
 
On 4/23/2010 5:52 PM, Ken wrote:
How do average a colum of numbers? I will ignore the $0 number.

Thank you very much!


If you have Excel 2007

=AVERAGEIF(A1:A10,"<0")


= = = = = = =
HTH :)
Dana DeLouis

Teethless mama

skip 0 average
 
=AVERAGE(IF(A1:A6<0,A1:A6))

ctrl+shift+enter, not just enter


"Ken" wrote:

How do average a colum of numbers? I will ignore the $0 number.

Thank you very much!


Teethless mama

skip 0 average
 
Non array formula

=SUM(A1:A6)/COUNTIF(A1:A6,"<0")

Just press enter



"Ken" wrote:

How do average a colum of numbers? I will ignore the $0 number.

Thank you very much!



All times are GMT +1. The time now is 06:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com