Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Average if to ignore 0 zero in data set

Posted on 2016-07-29
1
Medium Priority
?
87 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 27

Accepted Solution

by:
ProfessorJimJam earned 2000 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
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.

963 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