From: Bryan on 15 Mar 2010 14:46 I an working with the following formula: =SUM(C8:E8)/COUNTIF(C8:E8,">0") if I initially have no data entered i get the #div/0! 's is there a fix for this?
From: "David Biddulph" groups [at] on 15 Mar 2010 15:08 =IF(COUNTIF(C8:E8,">0")=0,"",SUM(C8:E8)/COUNTIF(C8:E8,">0")) -- David Biddulph "Bryan" <Bryan(a)discussions.microsoft.com> wrote in message news:62E28129-5C01-44B7-84EC-2851E94569B1(a)microsoft.com... > I an working with the following formula: =SUM(C8:E8)/COUNTIF(C8:E8,">0") > if I > initially have no data entered i get the #div/0! 's is there a fix for > this?
From: Mike H on 15 Mar 2010 15:25 Hi, =IF(COUNT(C8:E8)>0,SUM(C8:E8)/COUNTIF(C8:E8,">0"),"") -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Bryan" wrote: > I an working with the following formula: =SUM(C8:E8)/COUNTIF(C8:E8,">0") if I > initially have no data entered i get the #div/0! 's is there a fix for this?
From: Teethless mama on 15 Mar 2010 15:43 > =IF(COUNT(C8:E8)>0,SUM(C8:E8)/COUNTIF(C8:E8,">0"),"") your formula fail if C8: 0, D8: blank, C8: blank, or all 0s or 0,0, blank Robust formula: =IF(COUNTIF(C8:E8,">0"),SUM(C8:E8)/COUNTIF(C8:E8,">0"),"") "Mike H" wrote: > Hi, > > =IF(COUNT(C8:E8)>0,SUM(C8:E8)/COUNTIF(C8:E8,">0"),"") > -- > Mike > > When competing hypotheses are otherwise equal, adopt the hypothesis that > introduces the fewest assumptions while still sufficiently answering the > question. > > > "Bryan" wrote: > > > I an working with the following formula: =SUM(C8:E8)/COUNTIF(C8:E8,">0") if I > > initially have no data entered i get the #div/0! 's is there a fix for this?
|
Pages: 1 Prev: Counting independent items in a list Next: EXCEL COUNTING HELP |