View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Average Formula Help

Hi

Try this array formula

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

This is an array formula which must be entered by pressing CTRL+Shift+Enter
'and not just Enter. If you do it correctly then Excel will put curly brackets
'around the formula {}. You can't type these yourself. If you edit the formula
'you must enter it again with CTRL+Shift+Enter.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Peter" wrote:

I need to find out how to have the average not count the 0's...
A1 12
A2 0
A3 12
A4 12
A5 0
A6 0
using =average the average is 6. I need the =avaerage not to count the zeos
and the average to be 12.