Solved

Average if to ignore 0 zero in data set

Posted on 2016-07-29
1
47 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

803 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