Solved

Multiple AverageIf(s)

Posted on 2013-06-12
1
297 Views
Last Modified: 2013-06-12
I need to get the average for several reason codes that are in several different columns I was able to figure out how to calculate for one or two columns of data, but receive a Div/0 or #valve errror when I try to do more than a couple. Can someone help.     Attaching the workbook.  The two formulas that I was able to get were =AVERAGEIF(B1:B25,A33,A1:B25) and =AVERAGEIF(D1:F25,A34,C1:F25)
AverageIF.xlsx
0
Comment
Question by:jmac001
1 Comment
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 39241761
You are trying to find the average of all the values that have either of the reasons listed beside them?

Try:

=SUMPRODUCT(SUMIF($B$2:$P$25,$A$30:$A$41,$A$2:$O$25))/SUMPRODUCT(COUNTIF($B$2:$P$25,$A$30:$A$41))
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

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

932 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

13 Experts available now in Live!

Get 1:1 Help Now