How to analyze survey data in Excel

Employee survey, course feedback or a club poll: once the answers are on a 1 to 5 scale, a handful of formulas turn them into counts, means and percentages, also split by group. The template does this for up to 10 questions and 300 responses.

In short: one row per response and one column per question, holding values from 1 to 5. =COUNTIF(Answers,4) counts how often 4 appears. The five counts give you n, the mean with SUMPRODUCT and the top-2 box (the share of 4s and 5s). Add a group as a second condition in COUNTIFS and the analysis is filtered.

You should know: SUM and AVERAGE. COUNTIF and AVERAGEIF are explained in the exercises.

Try it now

The first step of any survey analysis: how often was each answer given? That gives you the distribution the chart shows.

Task How often was each answer given? In E2, count how often the value in D2 appears in the answers B2:B11. The formula is filled into E2:E6.

ABCDEFG
1 No. Answer Value Count 1 = strongly disagree, 5 = strongly agree
2 1 4 1
3 2 5 2
4 3 3 3
5 4 4 4
6 5 2 5
7 6 5
8 7 4
9 8 3
10 9 4
11 10 1

Download the survey results template

The template has a sheet for responses (up to 300, 10 questions and a comment field), the results with a group filter, a column chart of the distribution and the mean by group, a sheet listing the comments of the selected group, the group list and instructions. The sample data comes from a made-up employee survey with 36 responses. Data validation only accepts answers from 1 to 5.

Preview of the survey results template in Excel: group filter, for each question n, counts of answers 1 to 5, mean, top-2 box and bottom-2 box with bars, a column chart of the distribution and the mean by group belowEnlarge preview

Download the finished template

The finished Excel file survey-results-template.xlsx, with sample rows and instructions, is free. All you need is a free account: no subscription, no payment details.

Figures, rates and sample data in the templates are as of 13 November 2026, without guarantee. Check that they still apply to you. The templates are mainly meant to show how to build this in Excel.

Create a free account and download the template Already have an account? Log in

How the results sheet works

ColumnWhat it showsFormula for question 1 (row 7)
D to HCount for each answer 1 to 5=IF($C$3="(all)",COUNTIF(Q1,D$6),COUNTIFS(Q1,D$6,Group,$C$3))
Cn, every answer to this question=SUM(D7:H7)
IMean=SUMPRODUCT($D$6:$H$6,D7:H7)/C7
JTop-2 box=(G7+H7)/C7
KBottom-2 box=(D7+E7)/C7

Q1 stands for the answer column of question 1 on the Responses sheet and Group for the group column. Because n comes from the counts, empty cells are not counted: someone who skips a question changes neither n nor the mean.

Build it yourself, step by step

1. Record the answers

One row per response, one column per question, numbers only. Data validation for whole numbers between 1 and 5 stops typos like 44. A skipped question stays empty, not 0.

2. Count each answer

With the answer values 1 to 5 as column headings, COUNTIF counts how often each value appears for each question. You practiced that above.

3. n, mean and top-2 box

Everyone knows the mean, but it is hard to explain: what does 3.6 mean? Percentages are easier to grasp. The top-2 box is the share of the two highest answers, here 4 (agree) and 5 (strongly agree). Work out all three:

Task Analyze the question. Response 4 skipped it. E2: number of answers. E3: mean. E4: top-2 box, the share of 4 and 5 answers among all answers (as a decimal, such as 0.5).

ABCDEF
1 No. Answer
2 1 4 n (answers)
3 2 5 Mean
4 3 3 Top-2 box
5 4
6 5 4
7 6 2
8 7 5
9 8 4
10 9 3
11 10 4
12 11 1
13 12 5
14
15

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

In the template the mean comes from the counts: SUMPRODUCT multiplies each value by its count and adds them up. That gives the same result as AVERAGE but also works with the group filter, because the counts are already filtered.

4. Filter and compare groups

Pick a group in C3 and COUNTIFS uses it as a second condition. Every figure, the chart and the comments then show that group only. For a side by side view, a table below shows the mean of each question by group:

Task How satisfied is each group? In E2, work out the mean answer of all responses from the group in D2. The formula is filled into E2:E4.

ABCDE
1 Group Answer Group Mean
2 Sales 4 Sales
3 IT 3 Admin
4 Sales 5 IT
5 Admin 2
6 IT 4
7 Sales 3
8 Admin 3
9 IT 5
10 Admin 2
11 Sales 4

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

5. Chart and comments

The column chart shows the five counts of the question whose number you pick in C19; INDEX fetches the right row. The Comments sheet lists the open answers of the selected group without gaps: a helper column numbers matching comments with =MAX(N$4:N4)+1, and MATCH finds number 1, 2, 3.

Common mistakes

Dividing by every response

Divide the top-2 box by the number of responses instead of n and skipped questions count as disagreement. Always divide by the number of answers to that question.

Typing 0 for no answer

COUNT includes a 0 and it drags the mean down. No answer means an empty cell.

Reading too much into small groups

With five answers, one person moves the top-2 box by 20 percentage points. Present small groups with care, and in anonymous surveys not at all if people could be identified.

Negatively worded questions

For "I often feel overloaded", 5 is the bad answer. Reverse such questions before you analyze them with =6-answer in a column of its own, or word every question in the same direction.

The formulas in German Excel

EnglishGerman
COUNTIF, COUNTIFSZÄHLENWENN, ZÄHLENWENNS
COUNT, AVERAGE, AVERAGEIFANZAHL, MITTELWERT, MITTELWERTWENN
SUMPRODUCTSUMMENPRODUKT
INDEX, MATCH, MAXINDEX, VERGLEICH, MAX

The German version is called Fragebogen-Auswertung, with a scale from "stimme gar nicht zu" to "stimme voll zu".

Which Excel versions does this work in?

Every function in the template, the chart, data validation and sheet protection work in all current versions of Excel, including Excel for Mac and Excel for the web. If you prefer clicking to formulas, a PivotTable can also count the answers to a question; the formulas have the advantage of updating as soon as new responses come in.

FAQ

Is the template free?

Yes. Download the Excel file with a free account, no subscription and no payment details.

Does it work with a 1 to 4 or 1 to 7 scale?

The template is built for 1 to 5. For another scale, change the count headings, the data validation and what counts as the top-2 box; the formulas follow the same pattern.

How do I get answers from Microsoft Forms or Google Forms in?

Both export the answers as a table. Turn text answers such as "Agree" into numbers first, for example with Find and Replace, and paste them as values into the Responses sheet.

What is the difference between the mean and the top-2 box?

The mean sums up all answers in one number. The top-2 box says what share agrees or strongly agrees. Two questions with the same mean can have very different distributions, so the template shows both.

How many groups can I compare?

You can filter by up to 12 groups. The comparison table shows the first six from the Lists sheet.

Up next: AVERAGEIF

Averages by condition, with one and with several conditions, with exercises in your browser.

Practice AVERAGEIF

All templates with instructions: Excel templates.

Write to us

Choose language

Select your preferred language