+ Reply to Thread
Results 1 to 2 of 2

averages without including zero values

  1. #1
    Registered User
    Join Date
    12-14-2005
    Posts
    2

    averages without including zero values

    ={AVERAGE(IF(J7:J21<>0, J7:J21,""))}

    Trying to use a array formula similar to the above to calculate an average of numbers from a column without including zero value fields in the average. but I am not successful.

    Any ideas

  2. #2
    Registered User
    Join Date
    02-11-2005
    Posts
    85
    I use the below formula and it works fine for me. I had to add the first section to stop an error I recieved when all the fields were empty.

    =IF(SUM(j7:j21)=0,"",AVERAGE(IF(j7:j21<>0, j7:j21,"")))

    Hope it helps

+ 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