I am averaging water meter readings for a municipality. I need to exclude any zero readings and take the average. What function do I use?
I am averaging water meter readings for a municipality. I need to exclude any zero readings and take the average. What function do I use?
Have a look at this link
http://www.cpearson.com/excel/lists.htm
oldchippy
-------------
![]()
![]()
Blessed are those who can give without remembering and take without forgetting
If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.
Click here >>> Top Excel links for beginners to Experts
Forum Rules >>>Please don't forget to read these
This doesn't seem to be working for me. I keep getting a "#value!" error. Will it work horizontally as well as vertically (as shown in the example)?
All of the formulas on this page are array formulas, so you must press Ctrl+Shift+Enter rather than just Enter when you enter the formula, and whenever you edit it later.
Did you do that?
nope. never heard of them. I guess I need to go back to excel school. Thank you again for your help. That worked that time.
Don't worry about it, we're always in a hurry to get things done and don't take it all in - glad it worked for you, thanks for the feedback
if your readings are in col A then try thisOriginally Posted by kevins_3121
=SUM(A1:A50)/COUNTIF(A1:A50,"<>0")
starguy
Tahir Aziz
PAKISTAN
https://www.facebook.com/businessexcel
__________________
Forum Rules (read before you post)
Links to the world of Excel
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks