good day
im trying to average a row of cells that have a formula in them and they return 0.00 while i need to exclude these cells so i get a true average of the cells that are not zero.
thanks in advance.
good day
im trying to average a row of cells that have a formula in them and they return 0.00 while i need to exclude these cells so i get a true average of the cells that are not zero.
thanks in advance.
Try this
SUM(range)/COUNTIF(range,"<>0")
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST
More we learn about excel, more it shows us, how less we know about it.
for chemistry
https://www.youtube.com/c/chemistrybyshivaansh
Use averageif()
=avarageif(a1:a10,"<>0")
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
=sum(a1:a10)/countif(a1:a10,">0")
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks