Solved

Multiple AverageIf(s)

Posted on 2013-06-12
1
283 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
Comment Utility
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

743 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