#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 251
Default AVERAGE

How do I average a column of numbers to exclude zeros? If there are 3 zeros
and 2 numbers, then the average function is dividing the two numbers by 5. I
need an average function that will average only numbers not zeros. So, if
there are 5 rows and in the column there a 1 and a 4 and three 0's, then the
average I want is 2.6 because it would only average the numbers above zero.
Thank you. Connie
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default AVERAGE

= AVERAGE(IF(A1:A5<0,A1:A5))
Commit with CTRL SHIFT ENTER

--
HTH,
Barb Reinhardt



"Connie Martin" wrote:

How do I average a column of numbers to exclude zeros? If there are 3 zeros
and 2 numbers, then the average function is dividing the two numbers by 5. I
need an average function that will average only numbers not zeros. So, if
there are 5 rows and in the column there a 1 and a 4 and three 0's, then the
average I want is 2.6 because it would only average the numbers above zero.
Thank you. Connie

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default AVERAGE

Try one of these:

Excel 2007 only:

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

All versions of Excel array entered** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


"Connie Martin" wrote in message
...
How do I average a column of numbers to exclude zeros? If there are 3
zeros
and 2 numbers, then the average function is dividing the two numbers by 5.
I
need an average function that will average only numbers not zeros. So, if
there are 5 rows and in the column there a 1 and a 4 and three 0's, then
the
average I want is 2.6 because it would only average the numbers above
zero.
Thank you. Connie



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 251
Default AVERAGE

Sorry, the array formula is giving me #DIV/0! and I pressed CTRL, SHIFT &
ENTER. What the problem be? Is there an add-in I need? Connie

"T. Valko" wrote:

Try one of these:

Excel 2007 only:

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

All versions of Excel array entered** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


"Connie Martin" wrote in message
...
How do I average a column of numbers to exclude zeros? If there are 3
zeros
and 2 numbers, then the average function is dividing the two numbers by 5.
I
need an average function that will average only numbers not zeros. So, if
there are 5 rows and in the column there a 1 and a 4 and three 0's, then
the
average I want is 2.6 because it would only average the numbers above
zero.
Thank you. Connie




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 251
Default AVERAGE

Sorry, I'm getting #DIV/0! and I pressed CTRL SHIFT ENTER after entering it.
Is there an add-in I need or something? Why doesn't it work? Connie

"Barb Reinhardt" wrote:

= AVERAGE(IF(A1:A5<0,A1:A5))
Commit with CTRL SHIFT ENTER

--
HTH,
Barb Reinhardt



"Connie Martin" wrote:

How do I average a column of numbers to exclude zeros? If there are 3 zeros
and 2 numbers, then the average function is dividing the two numbers by 5. I
need an average function that will average only numbers not zeros. So, if
there are 5 rows and in the column there a 1 and a 4 and three 0's, then the
average I want is 2.6 because it would only average the numbers above zero.
Thank you. Connie



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 251
Default AVERAGE

Sorry, my mistake!! This DOES work! Thank you very much. Connie

"Barb Reinhardt" wrote:

= AVERAGE(IF(A1:A5<0,A1:A5))
Commit with CTRL SHIFT ENTER

--
HTH,
Barb Reinhardt



"Connie Martin" wrote:

How do I average a column of numbers to exclude zeros? If there are 3 zeros
and 2 numbers, then the average function is dividing the two numbers by 5. I
need an average function that will average only numbers not zeros. So, if
there are 5 rows and in the column there a 1 and a 4 and three 0's, then the
average I want is 2.6 because it would only average the numbers above zero.
Thank you. Connie

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 251
Default AVERAGE

Sorry, my mistake!! This DOES work! Thank you! Connie

"T. Valko" wrote:

Try one of these:

Excel 2007 only:

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

All versions of Excel array entered** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


"Connie Martin" wrote in message
...
How do I average a column of numbers to exclude zeros? If there are 3
zeros
and 2 numbers, then the average function is dividing the two numbers by 5.
I
need an average function that will average only numbers not zeros. So, if
there are 5 rows and in the column there a 1 and a 4 and three 0's, then
the
average I want is 2.6 because it would only average the numbers above
zero.
Thank you. Connie




  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default AVERAGE

You're welcome!

--
Biff
Microsoft Excel MVP


"Connie Martin" wrote in message
...
Sorry, my mistake!! This DOES work! Thank you! Connie

"T. Valko" wrote:

Try one of these:

Excel 2007 only:

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

All versions of Excel array entered** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)


--
Biff
Microsoft Excel MVP


"Connie Martin" wrote in message
...
How do I average a column of numbers to exclude zeros? If there are 3
zeros
and 2 numbers, then the average function is dividing the two numbers by
5.
I
need an average function that will average only numbers not zeros. So,
if
there are 5 rows and in the column there a 1 and a 4 and three 0's,
then
the
average I want is 2.6 because it would only average the numbers above
zero.
Thank you. Connie






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
A formula to AVERAGE IF but only average a set number of values [email protected] Excel Worksheet Functions 2 January 31st 08 08:28 PM
Find monthly average but have average automatically configured kimbafred Excel Discussion (Misc queries) 2 August 8th 07 12:28 AM
Error Handling #N/A with AVERAGE Function - Average of values in Row Sam via OfficeKB.com Excel Worksheet Functions 13 July 31st 05 03:59 PM
Weighed Average of a weiged average when there are blanks krl - ExcelForums.com Excel Discussion (Misc queries) 1 July 6th 05 07:37 PM
how does one convert text to a formula "average(A:A)" to =average( phshirk Excel Worksheet Functions 4 April 14th 05 01:20 AM


All times are GMT +1. The time now is 05:36 AM.

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"