How to Average Survey Results with Multiple Criteria in Excel

📅 Aug 14, 2026 📝 Sarah Miller

Segmenting complex survey data often leaves analysts overwhelmed by noisy, unstructured feedback. While organizations traditionally evaluate program success using standard funding sources, understanding qualitative stakeholder satisfaction requires deeper, multi-layered analysis. Mastering advanced Excel formulas grants analysts the clarity to filter through this noise instantly. Under the stipulation that your source data remains consistently formatted, using the AVERAGEIFS function to isolate satisfaction scores by department and region serves as the industry standard to validate performance. Below, we will define the exact formula syntax, walk through step-by-step implementation, and address common troubleshooting criteria.

How to Average Survey Results with Multiple Criteria in Excel

Analyzing survey data is one of the most common tasks for business analysts, HR professionals, and market researchers. While calculating a simple average of your survey scores is straightforward, real-world analysis requires you to drill down into specifics. You rarely want to know just the overall average; instead, you need to know the average score of Sales representatives in the East region, or how customers aged 25-34 rated your service compared to those aged 45-54.

To perform this level of granular analysis in Microsoft Excel, you must master formulas that calculate averages based on multiple criteria. This comprehensive guide will walk you through the most powerful formulas for averaging survey results, handling common data issues (like blank responses and "N/A" options), and applying advanced logical conditions.

The Foundation: Understanding the Dataset

Before diving into the formulas, let's establish a standard survey dataset. Imagine you have a table spanning columns A to E, containing employee feedback scores (on a Likert scale of 1 to 5):

Respondent ID (Col A) Department (Col B) Region (Col C) Years of Service (Col D) Satisfaction Score (Col E)
101 Sales North 3 5
102 Marketing South 1 4
103 Sales North 6 2
104 IT East 4 3
105 Sales North 1
106 IT North 8 5

Method 1: The AVERAGEIFS Function (The Standard Approach)

The most efficient and modern way to average survey results based on multiple criteria is the AVERAGEIFS function. Introduced in Excel 2007, this function allows you to specify up to 127 range/criteria pairs.

Syntax of AVERAGEIFS

=AVERAGEIFS(average_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)
  • average_range: The cell range containing the numbers you want to average (e.g., your survey scores).
  • criteria_range1: The range of cells you want to evaluate against your first condition.
  • criteria1: The actual condition that must be met in criteria_range1.

Example: Average Score of Sales Employees in the North Region

Using our sample table, if we want to find the average satisfaction score specifically for employees who work in "Sales" AND are located in the "North" region, we would use the following formula:

=AVERAGEIFS(E2:E7, B2:B7, "Sales", C2:C7, "North")

How it works: Excel looks at range E2:E7. It evaluates row by row, keeping only the rows where column B equals "Sales" and column C equals "North". It then averages the valid values in column E.

Method 2: Handling Numerical Thresholds (Date and Year Criteria)

Often, your criteria won't be simple text matches. You may want to average survey scores based on numerical thresholds, such as tenure or age.

To do this, you must use logical operators (such as >, <, >=, or <=) enclosed in double quotation marks.

Example: Average Score of Sales Employees with Over 2 Years of Service

To find the average score for Sales employees who have worked at the company for more than 2 years, write:

=AVERAGEIFS(E2:E7, B2:B7, "Sales", D2:D7, ">2")

If your threshold value is stored in a separate cell-for example, if cell G1 contains the value 2-you must concatenate the logical operator with the cell reference using the ampersand (&) operator:

=AVERAGEIFS(E2:E7, B2:B7, "Sales", D2:D7, ">"&G1)

Method 3: Handling Blanks and Non-Numeric Survey Answers

One of the biggest pitfalls when analyzing survey data is how Excel treats blank cells, zeros, and text strings (like "N/A" or "Don't Know").

How AVERAGEIFS Treats Blanks

By default, AVERAGEIFS automatically ignores truly blank cells in the average_range. In our sample table, Respondent 105 (Sales, North) left their survey score blank. The formula =AVERAGEIFS(E2:E7, B2:B7, "Sales", C2:C7, "North") will only average the scores 5 (Respondent 101) and 2 (Respondent 103). It ignores the blank cell entirely, dividing the sum (7) by 2 to yield an average of 3.5.

The Problem with Zeros vs. Blanks

If your survey software exports missing answers as 0 instead of a blank cell, Excel will include those zeros in the average, heavily dragging down your results. To prevent this, you can add a criterion to explicitly exclude zeros:

=AVERAGEIFS(E2:E7, B2:B7, "Sales", C2:C7, "North", E2:E7, ">0")

This tells Excel to only average scores that are strictly greater than zero, ensuring uncompleted questions do not ruin your KPIs.

Method 4: Advanced Scenarios using OR Logic (SUMPRODUCT)

While AVERAGEIFS is brilliant, it operates strictly on AND logic (all conditions must be true). What if you need to calculate the average score of employees who are in either the Sales OR Marketing departments in the North region?

To handle "OR" conditions within multiple criteria, we must transition to a combination of SUMPRODUCT and SUM, or use an array formula.

The SUMPRODUCT Solution for OR Logic

The following formula averages the scores for employees in either "Sales" or "Marketing" within the "North" region:

=SUMPRODUCT(((B2:B7="Sales")+(B2:B7="Marketing"))*(C2:C7="North")*(ISNUMBER(E2:E7)), E2:E7) / SUMPRODUCT(((B2:B7="Sales")+(B2:B7="Marketing"))*(C2:C7="North")*(ISNUMBER(E2:E7)))

Breaking Down the Logic:

  • The plus sign (+) acts as the OR operator. It checks if the department is Sales OR Marketing.
  • The asterisk (*) acts as the AND operator. It ensures the region must be "North".
  • ISNUMBER(E2:E7) prevents the formula from trying to calculate text or empty rows, preventing math errors.
  • The formula divides the sum of the filtered scores by the total count of matching respondents to arrive at the precise weighted average.

Alternative: Dynamic Array Formulas (Excel 365 & 2021)

If you are using modern versions of Excel (Excel 365, Excel 2021, or Excel for the Web), you have access to dynamic array functions like FILTER. Combining AVERAGE with FILTER offers a highly readable, elegant alternative to complex array formulas.

Example Using FILTER

To average the scores of North region employees in either Sales or Marketing using modern Excel:

=AVERAGE(FILTER(E2:E7, ((B2:B7="Sales")+(B2:B7="Marketing")) * (C2:C7="North") * (E2:E7<>"")))

This formula filters the array of scores in E2:E7 based on our compound logical tests, filters out blank entries (E2:E7<>""), and passes the resulting array directly to the standard AVERAGE function.

Best Practices for Survey Analysis in Excel

To ensure your formulas always return accurate results, follow these structured principles:

  1. Use Excel Tables: Convert your raw survey data range into an official Excel Table (shortcut: Ctrl + T). This enables structured references (e.g., [Satisfaction Score] instead of E2:E100). As new survey responses are added, your formulas will automatically expand to include them.
  2. Watch Out for Text Scores: Ensure your survey scores are formatted as actual numbers. If scores are formatted as text, AVERAGEIFS will ignore them entirely, resulting in a #DIV/0! error. If this happens, use the Value function or the Text to Columns wizard to convert them back to numeric values.
  3. Keep Criteria in Separate Cells: Instead of hardcoding text like "Sales" or "North" inside your formulas, reference helper cells. This allows you to build interactive dashboards where changing a dropdown cell immediately recalculates the entire survey breakdown.

Disclaimer:
The documents and templates provided on this page are for informational and illustrative purposes only. They do not constitute professional, legal, or financial advice, and should not be relied upon as such. Because individual circumstances and regulatory requirements vary, these materials may not be suitable for your specific needs. We recommend consulting with a qualified professional before adapting or using any of these examples for official or commercial purposes.