If there are two, it should average, if there is one, it should return the value of that one
S Shu of AZ Feb 7, 2008 #21 If there are two, it should average, if there is one, it should return the value of that one
T T. Valko Feb 7, 2008 #22 Try this: =IF(COUNT(D415)=0,"",IF(COUNT(D415)<3,AVERAGE(D415),TRIMMEAN(D415,2/COUNT(D415))))