+ Reply to Thread
Results 1 to 7 of 7

averaging nonzero data

  1. #1
    Registered User
    Join Date
    03-26-2007
    Location
    Livingston County
    Posts
    5

    Arrow averaging nonzero data

    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?

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    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

  3. #3
    Registered User
    Join Date
    03-26-2007
    Location
    Livingston County
    Posts
    5
    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)?

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    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?

  5. #5
    Registered User
    Join Date
    03-26-2007
    Location
    Livingston County
    Posts
    5
    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.

  6. #6
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    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

  7. #7
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by kevins_3121
    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?
    if your readings are in col A then try this

    =SUM(A1:A50)/COUNTIF(A1:A50,"<>0")

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1