Survey Analysis: How to Analyze Survey Data in 8 Steps, with One Worked Example
Survey analysis is the work between the last response and the first decision: you clean the data, count the answers, compare groups, read the open text and decide how far the numbers can be trusted. Done well, it tells you what to change and what you still do not know.
This guide follows a single survey from the raw export to a one-page report of the survey results. The arithmetic is shown at every step, with Excel and Google Sheets formulas for the key counts, so you can repeat them on your own data.
The example: one course, 200 submissions
Say a company's learning team ran an online course on customer conversations. All 400 employees who took it were invited to a five-question survey a week later, and answering was voluntary. The export holds 200 rows. Every number below comes from those rows.
- Which team are you in? Sales, Support or Operations
- Which parts of the course did you use? Video lessons, Practice exercises, Cheat sheet, Live Q&A; select all that apply
- How useful was the course for your day-to-day work? 1 = not at all useful, 5 = extremely useful
- How likely are you to recommend this course to a colleague? 0 to 10
- What one change would make the course more useful? Open text, optional
Five questions, five kinds of data, and each kind needs its own calculation. Settle that before you open the spreadsheet.
Match each question type to its method
- Single choice, such as team or country. Categories with no order, called nominal data. Count each option and show its share.
- Multiple choice with several answers allowed. Show the share of people who picked each option; the shares can add up to more than 100%.
- Rating and Likert scales. The answers have an order, called ordinal data; treating the steps as equally spaced is an assumption. Show the full spread, the top-2-box share and, with care, the mean.
- NPS® question. A fixed formula: promoters minus detractors.
- Numbers people type, such as age or hours. Mean and median; the median resists a few extreme values.
- Open text. Code the answers into themes, then count the themes.
Step 1. Clean the data before you count anything
Fix the cleaning rules first and look at the results second. If you remove responses after you have seen what they say, you risk removing the ones you do not like. In the course survey, three checks take 200 rows down to 180.
- Repeat submissions: 5 removed. The same learner's name appears twice, minutes apart, with identical answers. Confirm a repeat by an identifier such as the name or employee ID, never by matching answers alone, and keep the first submission.
- Test runs: 7 removed. Sorting by duration flags 11 rows finished in under a minute, against a median of 3 minutes 10 seconds. Speed only marks a row for review. Seven of the eleven came through the team's own test link before launch; the other four gave plausible, varied answers and stay in.
- Incomplete: 8 removed. Eight people stopped after question 2 and never reached the questions that matter. Someone who skipped only the optional open question stays in.
- Video lessons: 144 people, 80%
- Practice exercises: 99 people, 55%
- Cheat sheet: 72 people, 40%
- Live Q&A: 45 people, 25%
- Mean: 5×36 + 4×63 + 3×45 + 2×27 + 1×9 = 630; 630 ÷ 180 = 3.5. In a spreadsheet, =AVERAGE(D2:D181).
- Top-2-box, the share who chose 4 or 5: (36 + 63) ÷ 180 = 55%. Formula: =COUNTIF(D2:D181,">=4")/COUNT(D2:D181).
- Bottom-2-box, the share who chose 1 or 2: (27 + 9) ÷ 180 = 20%.
- Promoters: 63 ÷ 180 = 35%
- Detractors: 45 ÷ 180 = 25%
- NPS = 35 − 25 = +10. In a spreadsheet, =(COUNTIF(E2:E181,">=9")-COUNTIF(E2:E181,"<=6"))/COUNT(E2:E181)100*, once the scores are stored as numbers
- Sales: 60 of 90 chose 4 or 5, which is 67%
- Support: 30 of 60, which is 50%
- Operations: 9 of 30, which is 30%
- More practice with real cases: 42 answers, 35%
- Shorter videos: 30, 25%
- Examples from operations work: 18, 15%
- Live Q&A at other times: 18, 15%
- Other: 18, 15%
- Operations got the least out of the course: 9 of 30 chose 4 or 5, against 60 of 90 in Sales, and 14 Operations respondents asked for examples from their own work → add a practice case built on operations work.
- Practice is the most requested change: 42 of 120 open answers → more real cases in every module.
- Videos feel long: 30 of 120 open answers → split the longest lessons.
- Headline: the main finding in one sentence.
- Who answered: invited, received, removed and why, analysed. 400 invited, 200 rows, 180 analysed.
- Evidence with n: the key numbers and one chart, such as the crosstab by team.
- What people said: the top themes with one short quote each.
- Action, owner, date, and the measure to check next time.
- Limits: small groups, who did not answer, what the numbers cannot tell.
- Describe the people who answered, with n. Among those who answered, 60 of 90 in Sales and 9 of 30 in Operations chose 4 or 5 is true. 67% of Sales staff find the course useful claims more than the data holds.
- Look at who is missing. 90 of 160 Sales learners ended up in the analysis, and only 30 of 120 in Operations. The quiet majority of Operations may think differently from the 30 who replied.
- Check whether different questions point the same way. Operations is also lowest on NPS: 4 promoters and 14 detractors among 30, a score of −33. Add the 14 requests for operations examples, and three separate signals agree.
- Treat small gaps in small groups as open questions. Support at 50% and Operations at 30% differ by six people's worth of answers in a group of 30. Report it, and do not build a decision on it alone.
- Hand to AI: a first pass at coding open answers against your list of themes, a summary of each theme with quotes, a draft of the report text, the spreadsheet formula you cannot remember.
- Keep for yourself: the cleaning rules, the counts behind every percentage, which differences matter, how far the results can be generalised, and the decision.
- Give each answer an ID and ask for the theme per ID. Check that all 120 IDs come back and that no theme appears twice for the same answer.
- Read 20 coded answers yourself, including the ambiguous ones, and see whether you would code them the same way.
- Recalculate every number that goes into the report in your spreadsheet. A fluent paragraph is not a correct count.
- Watch for themes nobody mentioned. If a summary claims something, it should be able to quote it.
- Count an option: =COUNTIF(B2:B181,"Sales")
- Multi-select option, exact match, in a helper column: =--ISNUMBER(FIND(";Practice exercises;",";"&SUBSTITUTE(C2,"; ",";")&";")), then =SUM(H2:H181)/COUNTIF(C2:C181,"?")*
- Mean and median of a rating: =AVERAGE(D2:D181) and =MEDIAN(D2:D181)
- Top-2-box: =COUNTIF(D2:D181,">=4")/COUNT(D2:D181)
- NPS: =(COUNTIF(E2:E181,">=9")-COUNTIF(E2:E181,"<=6"))/COUNT(E2:E181)100*
- One crosstab cell: =COUNTIFS(B2:B181,"Support",D2:D181,">=4")/COUNTIFS(B2:B181,"Support",D2:D181,">=1")

Fast rows are flagged for review, not removed automatically
To flag fast rows, sort by the duration column and compare with =MEDIAN(G2:G201), where column G holds the time per response. Excel and Google Sheets both have a Remove duplicates command in the Data menu, but run it on the identifier column, not on whole rows. In Pollsar, the Individual Review table shows each response's duration and audience next to the answers, and you can tick test runs and other unwanted rows and delete them; the help article on individual responses shows how.
Step 2. Count each closed question and show n
The team question gives the base for everything else: Sales 90 people, Support 60, Operations 30. Shares are each count divided by 180, so 50%, 33% and 17%. In a spreadsheet, the count is =COUNTIF(B2:B181,"Sales") and the share is that count divided by =COUNTA(B2:B181). Depending on your regional settings, the formula separator may be a semicolon rather than a comma.
Write n next to every percentage: 50% of 180, not 50%. A share without a base hides whether it describes 180 people or 6. When a question is optional, n is the number who answered that question, not everyone in the survey.
Step 3. Multiple-choice answers that add up to more than 100%
Question 2 allowed several answers, and the 180 people made 360 selections, two each on average. Count how many people ticked each part of the course and divide by the number who answered the question, here all 180.
The shares add up to 200%, and that is correct: each person counts once per option they picked. The other way to count is the share of all selections, where video lessons take 144 of 360, or 40%. It answers a narrower question, so report the share of people unless you have a reason not to. Pollsar's summary statistics show both side by side, as % people and % answers, with the difference explained in the help article on reading summary statistics.
When several options sit in one cell separated by semicolons, match the full option label, so that Video lessons does not also catch an option such as Bonus video lessons. In H2, enter =--ISNUMBER(FIND(";Video lessons;",";"&SUBSTITUTE(C2,"; ",";")&";")) and fill down: each row gets 1 or 0. Then =SUM(H2:H181)/COUNTIF(C2:C181,"?")* divides by the people who answered. Draw this kind of question as a bar chart; a pie chart implies parts of one whole. The questions themselves are covered in our guide to multiple choice survey questions.
Step 4. Rating scales: the mean and the top-2-box
The usefulness question on a 1–5 scale got this spread from 180 people: 36 gave a 5, 63 a 4, 45 a 3, 27 a 2 and 9 a 1.

Same answers, two summaries: a mean of 3.5 and a top-2-box of 55%
A mean of 3.5 says little on its own. The same 3.5 could come from everyone choosing 3 or 4, or from a split between people who loved the course and people who found it useless, and those call for different actions. 55% chose 4 or 5, and 20% chose 1 or 2 is a sentence a manager understands and can track next time. The mean is still handy for comparing many items at once, as long as you show the spread too. Writing and labelling the scale itself is covered in the guide to Likert scale questions.
Step 5. NPS in three lines of arithmetic
The recommend question uses the Net Promoter Score scale. Of 180 people, 63 gave 9 or 10, the promoters; 72 gave 7 or 8, the passives; 45 gave 0 to 6, the detractors.
NPS is a score from −100 to +100, not a percentage, and the passives count in the base even though they drop out of the formula. Pollsar calculates the score and the three groups for an NPS question by itself; what counts as a good score, and why one number is not enough, is in the guide to what NPS is.
Step 6. Crosstabs: compare groups and watch the small ones
A crosstab splits one question by the answers to another. Split by team, the overall 55% turns out to be three different numbers.
The check: 60 + 30 + 9 = 99, the same 99 people as in the overall top-2-box. For one cell, =COUNTIFS(B2:B181,"Operations",D2:D181,">=4")/COUNTIFS(B2:B181,"Operations",D2:D181,">=1"), so the base is the team members who gave a rating. For the whole table at once, use a pivot table with team in rows, the rating in columns and the values shown as a percentage of the row total.

Each bar carries its group size
Small groups mislead because each person weighs more. In Operations one person is 1 of 30, so 3.3 points; if three more people had chosen 4 instead of 3, the share would jump from 30% to 40%. Put n on every group, decide on a minimum group size before you look, and say in the report how groups below it were handled. If each team got its own audience link, you can select one audience at a time in Pollsar's results, as described in the help article on data layers and audience filters.
Step 7. Code the open answers into themes
The open question was optional, and 120 of the 180 answered it. Reading the answers and grouping them gives five themes.
That is 126 theme assignments across 120 answers, 105%, because one answer can carry two themes: Add an operations case and move the live Q&A to the afternoon counts under both. Each theme counts once per answer. Of the 18 answers asking for operations examples, 14 came from the Operations team. The coding method, with a worked example, is in the guide to open-ended questions.
Step 8. From numbers to a decision
Put each finding next to the evidence and the action it leads to.
Then ask the same questions after the next course, so the survey results compare like for like. In Pollsar, reopening a survey can start a new data layer, which keeps the second round of answers apart from the first.
A one-page report outline
Is the difference real? Margin of error and volunteer samples
The margin of error answers one question: how far a result from a random sample might be from the result you would get by asking everyone. The American Association for Public Opinion Research, AAPOR, gives the size for a sample of 200: about ±6.9 percentage points at 95% confidence. For a simple random sample from a large group, =0.98/SQRT(n) gives that maximum as a fraction, so 0.069 for n = 200.
The course survey is not a random sample. Everyone was invited and people chose whether to answer, and AAPOR is explicit that the margin of sampling error applies only to probability samples, where each person had a known chance of being selected, not to opt-in surveys. A ± figure on these 180 rows would look precise and mean nothing. The same goes for a significance test such as chi-square: it asks whether a gap could be chance in a random sample, and it cannot correct for who decided to reply.
What you can say honestly about volunteer responses
Statistical significance and practical significance are also different things. Even in a proper random sample with thousands of answers, a 2-point gap can pass every test and still not be worth a new course module. Ask both questions: could it be chance, and is it big enough to act on?
Who answered? Representativeness and weighting
Of the 400 learners, 160 were in Sales, 120 in Support and 120 in Operations, so 40%, 30% and 30%. Among the 180 analysed answers the mix is 50%, 33% and 17%, and Operations is underrepresented. The overall 55% leans toward the happiest team. Weighting each team by its real share gives 0.40×67% + 0.30×50% + 0.30×30% = about 51%. Weighting fixes the team mix only: within each team, the people who replied may still differ from those who did not. Report both figures and say so.
Correlation is not cause
People who used the live Q&A rated the course higher: 33 of 45, or 73%, chose 4 or 5, against 66 of the other 135, or 49%. Learners chose whether to attend, and the most engaged ones may both join the Q&A and get more from everything else. To test whether a Q&A at a better time helps, randomly offer it to half of the next group and compare the two halves.
Can ChatGPT analyze survey results?
Yes, for some parts of the job. A language model reads and groups text fast, but it can miscount and still sound sure, so give it the reading and keep the counting and the judgement.
How to check what AI gives you
Privacy comes first. Before you paste answers into a public chatbot, remove names, emails and anything that identifies a person, check your organisation's rules, and keep the promise you made in the survey introduction about who reads the answers. Pollsar's AI assistant works inside your project and reads the aggregated results, the counts and percentages of ratings and selected options; respondents' personal data is not passed to it by default.
Survey data analysis in Excel and Google Sheets: the formulas in one place
Pollsar exports summary statistics and individual responses as XLSX, CSV or JSON, and the Google Sheets integration writes each new response as a row, with response details in the first columns. The formulas below use a simplified layout for the example: one response per row in rows 2 to 181, team in column B, parts used in C, usefulness in D and the recommend score in E, stored as numbers.
In R, the same crosstab is one line: prop.table(table(df$team, df$usefulness >= 4), margin = 1). Regression, conjoint and factor analysis go beyond this guide; they answer narrower questions and need more data than most team surveys collect.
Frequently asked questions
What are the 4 types of data analysis?
One common classification names four: descriptive, diagnostic, predictive and prescriptive. Descriptive analysis says what happened, such as 55% choosing 4 or 5. Diagnostic analysis looks for patterns and possible explanations, such as the crosstab and the open answers pointing to Operations. Predictive analysis estimates what will happen, and prescriptive recommends an action. Most survey analysis is descriptive and diagnostic, with a decision at the end.
How do you score a questionnaire on a 1–5 scale?
For a single question, report the spread and the share choosing 4 or 5, as in Step 4. For a scale made of several items, follow its scoring key: reverse items worded in the opposite direction with 6 minus the answer, so a 5 becomes a 1, apply the scale's rule for missing answers, then combine the items into one score per person. Decide any cut-off for a high or low score before you look at the results.
What is coding in a closed survey question?
It is giving each answer option a stored value, such as Yes = 1 and No = 0, so software can calculate with it. A codebook records which label each value stands for and how skipped answers are stored, so nobody reads a 0 as a No when it was a blank. Coding open text into themes is covered in Step 7.
How do you analyze pre and post survey data?
Ask the same questions with the same wording and scale before and after. If you can match each person's two answers, report how many people answered both times and summarise their change. If you cannot, compare the two rounds as groups, report each round's size and check whether the mix of people shifted between them.
Design the next round with the report in mind
For the next round, keep the usefulness question and the team field: that lets you repeat the comparison after the operations case is added, and with luck more Operations learners will answer. If you are starting a course survey from scratch, the post-training feedback survey is ready to use, and our guide on how to design a survey covers the rest. Or describe your survey to Pollsar's AI assistant and get a link to send; it is free to start, no credit card.