Solved

Average if to ignore 0 zero in data set

Posted on 2016-07-29
1
41 Views
Last Modified: 2016-07-29
Hi Experts using excel 2013

i have the following formula which i need to amend to ignore and not count the cells with zeros in them to reduce the average
=IFERROR(AVERAGEIFS(INDIRECT("Data!$Bm$2:$Bm$2599"),INDIRECT("Data!$AQ$2:$AQ$2599"),$D$3,INDIRECT("Data!$bp$2:$bp$2599"),O$5,INDIRECT("Data!$bn$2:$bn$2599"),$G$5),"-")
0
Comment
Question by:route217
1 Comment
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 500 total points
ID: 41734517
=IFERROR(AVERAGEIFS(INDIRECT("Data!$Bm$2:$Bm$2599"),INDIRECT("Data!$AQ$2:$AQ$2599"),$D$3,INDIRECT("Data!$bp$2:$bp$2599"),O$5,INDIRECT("Data!$bn$2:$bn$2599"),$G$5,INDIRECT("Data!$Bm$2:$Bm$2599"),"<>0"),"-")
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

4 Experts available now in Live!

Get 1:1 Help Now