LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default Make Function ignore 0 and error values

Thanks very much,


"Teethless mama" wrote in message
...
Non array enter

=SUMIF(G3:G20,"0")/COUNTIF(G3:G20,"0")



"AD108" wrote:

I am trying to make the average function ignore 0's and errors. The
following array formula works to ignore the 0's, but I got stuck trying

to
make it ignore errors.

=AVERAGE(IF((G3:G20)<0,G3:G20))

=AVERAGE(IF(AND((G3:G20)<0,ISERROR(G3:G20)=FALSE) ,G3:G20))

Thanks in advance.



--
Remove 7 numbers to email
AD108





 
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



All times are GMT +1. The time now is 12:09 AM.

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

About Us

"It's about Microsoft Excel"