Home |
Search |
Today's Posts |
#5
![]() |
|||
|
|||
![]()
Tom,
=SUMIF(A2:A2978,A2,R2:R2978)/SUMPRODUCT((A2:A2978=A2)*(R2:R2978<0)) Array-entering not necessary. -- Earl Kiosterud www.smokeylake.com "Tom" wrote in message ups.com... {=AVERAGE(IF(Prov!$A$2:$A$2978=$A2,Prov!$R$2:$R$29 78))} Above is a formula that succesfully averages what I want. However sometime the Prov!range r2:R2978 contains zeros. How can I eliminate those zeros from the average? The first part of the formula with the cell reference is looking up and match a name before performin the average.. TIA Tom |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
CSV File - Leading Zeros | Excel Discussion (Misc queries) | |||
Creating formulas that allow the solutions to start with zeros. | Excel Discussion (Misc queries) | |||
How do I force leading zeros in an Excel cell? | Excel Discussion (Misc queries) | |||
Averaging noncontiguous numbers ignoring zeros? | Excel Worksheet Functions | |||
Averaging, ignoring zeros | Excel Worksheet Functions |