Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi
I'd like to create a function that would calculate the average without the zero(s)? Thanks in advance. kml |
#2
![]() |
|||
|
|||
![]()
There are two solutions:
1. replace the zeros with blanks. AVERAGE will ignore blanks 2. use SUMIF() divided by COUNTIF() excluding zeros in each of the functions -- Gary's Student "kml" wrote: Hi I'd like to create a function that would calculate the average without the zero(s)? Thanks in advance. kml |
#3
![]() |
|||
|
|||
![]()
=SUM(A3:A10)/COUNTIF(A3:A10,"0")
kml wrote: Hi I'd like to create a function that would calculate the average without the zero(s)? Thanks in advance. kml |
#4
![]() |
|||
|
|||
![]()
=average(if((A1:A10<0,A1:A10,"")
array entered (ctl, shift, enter) should do what you need hth RES |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I NEED HELP with the SPELLNUMBER Function | Excel Worksheet Functions | |||
Excel option to store trendline's coefficients in cells for use | Charts and Charting in Excel | |||
Date & Time | New Users to Excel | |||
Automatically up date time in a cell | Excel Discussion (Misc queries) | |||
clock | Excel Worksheet Functions |