I'll try to be as precise as possible.
I have a spreadsheet 10X50 at the end of each row I get some info from 10 results by using the formula:
=IF(ISERROR(SUM(A26:BR26) / COUNTIF(A26:BR26, ">0")),0,(SUM(A26:BR26) / COUNTIF(A26:BR26, ">0")))
wich serve the purpose of eliminating the #div/0 error when doing the average so I either have an amount or a 0. SO far everything works
I have named the 50 cells containing that formula "Q1.2ave" then I want to get the average of those named cells using a similar formula:
IF(ISERROR(SUM(Q1.2ave) / COUNTIF(Q1.2ave, ">0")),0,(SUM(Q1.2ave) / COUNTIF(Q1.2ave, ">0")))
and that's where I always get the error #VALUE
I have also tried Various other formula but still get the #VALUE error:
=SUM((Q1.2ave) / (IF(ISERROR(COUNTIF(Q1.2ave, ">0")),0,COUNTIF(Q1.2ave, ">0"))))
=AVERAGE(IF(Q1.2ave<>0,Q1.2ave))
=COUNTIF(Q1.2ave,NOT( ISERROR(Q1.2ave))) // to try to check where the error is
=SUMIF(Q1.2ave, ">0")
anyone can help me with that? thank you in advance
Bookmarks