Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Multiple AverageIf(s)

Posted on 2013-06-12
Medium Priority
331 Views
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
Question by:jmac001
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
1 Comment

LVL 23

Accepted Solution

NBVC earned 2000 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

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
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.
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 demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
###### Suggested Courses
Course of the Month5 days, 11 hours left to enroll