ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Projects
  3. How to Analyse Survey Results in Excel

How to Analyse Survey Results in Excel

By ExcelReady Team·Updated November 1, 2026·6 min read

The short answer

To analyze survey data in Excel, keep one row per response and one column per question. Count each answer with COUNTIF, such as =COUNTIF(C2:C11,5), and divide by the number of responses for a percentage. COUNTIFS compares groups, like ratings of 4 or more in Sales, and a pivot table summarises every answer by group without formulas.

Key takeaways

  • Structure first: one row per respondent, one column per question, consistent answer values.
  • =COUNTIF(C2:C11,5) counts one answer; divide by COUNT or COUNTA for its share of responses.
  • Top-2-box: =COUNTIF(C2:C11,">=4")/COUNT(C2:C11) is the share of 4 and 5 ratings.
  • =COUNTIFS(B2:B11,"Sales",C2:C11,">=4") breaks results down by group.
  • A pivot table counts answers by group in a few clicks and can show them as percentages.
On this page+
  1. How to lay out survey data
  2. Step 1: Clean the responses
  3. Step 2: Count each answer with COUNTIF
  4. Step 3: Turn counts into percentages
  5. Step 4: Summarise ratings: average and top-2-box
  6. Step 5: Compare groups with COUNTIFS
  7. Step 6: Summarise everything with a pivot table
  8. Where these skills are used
  9. Practise it

To analyze survey data in Excel, you count how many people gave each answer, turn the counts into percentages, and compare groups. COUNTIF and COUNTIFS do the counting, and a pivot table can do it all in a few clicks. This guide works through a small staff survey from raw responses to a clear summary, the kind of task you might get in a marketing, HR or analyst role.

How to lay out survey data#

Survey data is easiest to work with one row per respondent and one column per question. Most survey tools export in this shape already. Here is a 10-response example:

ABCD
1ResponseDepartmentSatisfactionRecommend
21Sales4Yes
32Support5Yes
43Sales3No
54Marketing4Yes
65Support2No
76Sales5Yes
87Marketing3Yes
98Support4Yes
109Sales1No
1110Marketing5Yes

Satisfaction is a rating from 1 (very unhappy) to 5 (very happy). Recommend is a Yes/No question. Don't merge cells or add subtotals inside the data; keep the summary somewhere else.

Step 1: Clean the responses#

Clean data first, because COUNTIF only matches exact values. Common problems in survey exports:

  • Inconsistent answers: "Yes", "yes " and "Y" are three different values to a formula. Use Find & Replace (Ctrl+H; Mac: Control+H) to make them identical.
  • Extra spaces: a trailing space stops "Yes " matching "Yes". Clean a column with TRIM in a helper column, then paste the results as values.
  • Ratings stored as text: numbers on the left of the cell are text, and COUNT ignores them. Convert them with VALUE or Data > Text to Columns > Finish.
  • Skipped questions: leave them blank. Don't type 0, which would count as a real rating.

Step 2: Count each answer with COUNTIF#

COUNTIF counts the cells in a range that match one condition. Make a small table with each possible answer in F2:F6 (5, 4, 3, 2, 1) and in G2:

Excel formula
=COUNTIF($C$2:$C$11,F2)

Fill it down. The counts are 5: 3, 4: 3, 3: 2, 2: 1 and 1: 1, which adds up to 10. Always check that the counts add up to the number of responses. If they don't, some answers don't match your list exactly.

For the Yes/No question, put the text in quotes: =COUNTIF(D2:D11,"Yes") returns 7. The COUNTIF function guide covers all the criteria types, and the attendance tracker uses the same counting pattern for codes.

Step 3: Turn counts into percentages#

Percentages make results easy to compare, even between surveys of different sizes. Divide each count by the number of responses. In H2:

Excel formula
=G2/COUNT($C$2:$C$11)

Format as a percentage with Ctrl+Shift+% (Mac: Control+Shift+%). A rating of 5 is 30% of responses. COUNT counts only numbers, so blank (skipped) answers are left out of the total. For text answers, use COUNTA instead: =COUNTIF(D2:D11,"Yes")/COUNTA(D2:D11) gives 70%.

Step 4: Summarise ratings: average and top-2-box#

Two numbers summarise a rating question well. The average is simple:

Excel formula
=AVERAGE(C2:C11)

That's 3.6 out of 5. The top-2-box score is the share of people who chose one of the two best answers (4 or 5). Many survey reports use it because it's easier to explain than an average:

Excel formula
=COUNTIF(C2:C11,">=4")/COUNT(C2:C11)

The result is 60%: six of ten people rated 4 or 5. Put the operator and number inside the quotes, with no space. The exercise on this page does the same on the first seven responses.

Step 5: Compare groups with COUNTIFS#

COUNTIFS counts rows that meet two or more conditions at once. To count Sales staff who rated 4 or more:

Excel formula
=COUNTIFS(B2:B11,"Sales",C2:C11,">=4")

The result is 2 (responses 1 and 6). Divide by the number of Sales responses, COUNTIF(B2:B11,"Sales"), which is 4, for a Sales top-2-box of 50%. Support and Marketing each score 67% (2 of 3). The COUNTIFS function guide explains the range and condition pairs, and the comparison of COUNTIF vs COUNTIFS shows when you need the second function.

For a group's average rating, use AVERAGEIF: =AVERAGEIF(B2:B11,"Marketing",C2:C11) returns 4, the highest of the three departments.

Be careful with small groups. With only three or four responses per department, one person changes the result a lot. Show the number of responses next to each percentage.

Step 6: Summarise everything with a pivot table#

A pivot table counts and groups data without formulas. It's the fastest way to explore results.

  1. Click any cell in the data and choose Insert > PivotTable, then OK.
  2. Drag Department to Rows.
  3. Drag Satisfaction to Columns.
  4. Drag Response to Values. If it shows Sum, click it, choose Value Field Settings and pick Count.

You now have a grid with each department's count of every rating. To see percentages, right-click a number, choose Show Values As > % of Row Total, and each department's row adds up to 100%. When new responses arrive, right-click the pivot table and choose Refresh. Practise pivot tables to learn the layout step by step.

Finish with a chart: select the percentage table and choose Insert > Bar Chart. Bars work better than pie charts when there are five rating levels to compare.

Where these skills are used#

Survey analysis comes up in marketing, HR and research roles. The article on Excel skills for marketing jobs shows where these counts and percentages appear in campaign and customer reports. If you're preparing for an analyst role, read about the data analyst Excel test and try the data analyst mock test to practise COUNTIFS and pivot tables against the clock.

Practise it#

Do the exercise on this page: a top-2-box score with COUNTIF and COUNT. Then practise COUNTIF in a live spreadsheet to count answers of every type, and practise pivot tables to summarise a whole survey by group in a few clicks.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Column C holds satisfaction ratings from 1 to 5. In G2, work out the top-2-box score: the share of ratings that are 4 or more. Use COUNTIF with ">=4" on C2:C8, divided by COUNT of the same range.

fx
ABCDEFGH
1
Response
Department
Satisfaction
Recommend
2
1
Sales
4
Yes
Top-2-box
3
2
Support
5
Yes
4
3
Sales
3
No
5
4
Marketing
4
Yes
6
5
Support
2
No
7
6
Sales
5
Yes
8
7
Marketing
3
Yes
9
10
11

Tip: COUNTIF(C2:C8,">=4") counts the 4s and 5s. COUNT(C2:C8) counts every rating. Divide the first by the second.

Practise this in a lesson

LessonCOUNTIFCount the cells that match a condition, from exact words to number checks like ">=8".LessonPivot tables 1Build your first PivotTable on a new sheet: total sales by region, split them by product, then switch the summary from Sum to Count and Average and read the answer off the pivot.Function guideCOUNTIFCount cells that match one condition with COUNTIF: text, numbers, wildcards and cell references. Real examples and a live exercise.Function guideCOUNTIFSCount rows that meet several conditions with COUNTIFS. Examples for text, number ranges and between-values, plus a live exercise.

Frequently asked questions

How do I count survey responses in Excel?

+

Use COUNTIF on the question's column with the answer you want: =COUNTIF(D2:D11,"Yes") counts Yes answers. For numbers, leave out the quotes: =COUNTIF(C2:C11,5).

How do I turn survey counts into percentages?

+

Divide the count by the number of responses, then format as a percentage. =COUNTIF(D2:D11,"Yes")/COUNTA(D2:D11) gives the share of Yes answers among people who answered.

Should I use a pivot table or formulas to analyze survey data?

+

A pivot table is fastest for exploring results by group. Formulas like COUNTIF and COUNTIFS are better for a fixed report that must update automatically and look the same every time.

How do I handle blank answers in survey data?

+

Leave skipped questions blank rather than typing 0. COUNT and COUNTA ignore blank cells, so percentages are based only on people who answered that question.

Sources

  • COUNTIF function - Microsoft Support
  • COUNTIFS function - Microsoft Support
  • Create a PivotTable to analyze worksheet data - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. How to lay out survey data
  2. Step 1: Clean the responses
  3. Step 2: Count each answer with COUNTIF
  4. Step 3: Turn counts into percentages
  5. Step 4: Summarise ratings: average and top-2-box
  6. Step 5: Compare groups with COUNTIFS
  7. Step 6: Summarise everything with a pivot table
  8. Where these skills are used
  9. Practise it

Keep reading

Comparisons· 7 min read

COUNTIF vs COUNTIFS: What's the Difference?

COUNTIF counts cells that meet one condition, such as tickets marked Open. COUNTIFS counts rows that meet several conditions at once, such as Open tickets with High priority, and every condition must be true. COUNTIFS with one pair works exactly like COUNTIF, so many people simply use COUNTIFS for everything.

Tests & careers· 6 min read

Excel Skills for Marketing Jobs

The key Excel skills for marketing are campaign metric formulas (CTR, conversion rate, CPC, CPA and ROAS), SUMIFS to total spend and revenue by channel, COUNTIF to count leads by source, percent change for week-on-week reports, and pivot tables for channel-by-month summaries. Clean, consistent campaign names make all of them work.

Projects· 5 min read

Make an Attendance Tracker in Excel

To make an attendance tracker in Excel, put names in column A and dates across row 1, then type a code in each cell: P for present, A for absent, L for late. COUNTIF counts each code per person, and dividing by the days recorded gives an attendance rate. Conditional formatting colors absences and low rates automatically.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free