500 free credits, no card. Try Smalt AI →

Marketing

How do I turn a spreadsheet of nps survey comments into themes

Read a sample, write a short codebook, tag every comment with one or more themes, then count each theme by promoters, passives and detractors.

Smalt AI team ·

Read a sample of the comments, write a short list of themes with one-line definitions, then tag every row with one or more of them. Once each comment is tagged, count how often each theme appears among promoters, passives and detractors, and compare the average score when a theme is present. Spot-check the tags before anyone acts on the counts.

Seven steps from raw comments to themes

This is a common approach, not a tested standard, and the numbers in it (how many themes, how big a sample) are rules of thumb. The Braun and Clarke thematic analysis site describes analysis as moving through data familiarisation, coding, theme development and revision. A spreadsheet version is a lighter form of the same path: read, label, group, then revise.

1. Clean the sheet

Remove blank comments and exact duplicates, and keep the score column next to each comment. Mask names, emails and company names if the sheet will be shared or pasted into any tool. Decide up front whether blanks count as “no theme” or are left out, because the two choices give different percentages. (Qualtrics tags blank responses only manually.)

If comments come in more than one language, split them by language first. The same Qualtrics page says topics are language-specific and that you should translate first.

2. Read a sample before you name anything

Read 50 to 100 comments, or a tenth of the sheet if it is small, and jot down what keeps coming up. Qualtrics calls this a bottom-up approach: read the responses first and build topics from the trends. Its guidance also describes a top-down approach, where you start from themes you already expect, such as pricing or support, and an automatic approach, where a tool suggests topics. It recommends mixing the three, so it is fine to start with your expected list and add what the sample shows.

3. Draft a codebook

A codebook is a short list of themes, each with a one-line definition and an example comment. Aim for roughly 10 to 15 themes and add an “other” bucket for anything that does not fit. Write the definitions tightly enough that two people would tag the same comment the same way. A definition such as “mentions waiting more than a day for a reply from support” works better than “support speed”.

Allow several themes per comment. A line like “love the product but billing was a mess” belongs under both.

A codebook can be as small as this. The comments are made up for illustration.

ThemeDefinitionExample comment
Support speedMentions waiting more than a day for a reply”Took three days to hear back about my login”
BillingMentions an invoice, charge or refund problem”Charged twice in March”
Ease of useSays the product is simple or confusing to use”Set up in ten minutes”
OtherAnything that fits none of the above”Please add a dark mode”

4. Code every row

You have two layouts to choose from:

  • One column per theme, with a 1 where the theme applies. This is easy to count with COUNTIF or a pivot table.
  • One row per comment-theme pair, with a column for a short reason quoted from the comment. This takes more rows but makes checking much faster, because the evidence sits next to the tag.

Do this by hand, or hand the sheet to an AI tool and ask for one of those layouts. Either way, the codebook from step 3 goes in with the comments.

5. Merge and revise

Once every row is tagged, merge near-duplicate themes (“slow replies” and “response time”) and split any theme that has become a catch-all. Qualtrics advises treating topics as iterative, and it suggests checking its “Comments without a Topic” bar for comments that no topic caught. The spreadsheet equivalent is to filter for rows with no theme, read them, and add a theme or widen a definition.

If you cannot say what rule puts a comment in or out of your own theme, the definition needs work.

6. Count by NPS segment

Add a column that labels each row from its score: promoters score 9 or 10, passives 7 or 8, and detractors 0 to 6. Then build a pivot table with themes down the side, segments across the top, and the count of comments as the value. Show each count as a share of the segment’s comments as well, because the three segments are rarely the same size and raw counts will mislead.

The finished pivot has this shape. The numbers are made up and only show the layout.

ThemePromotersPassivesDetractors
Support speed2 (5%)4 (14%)18 (45%)
Billing1 (3%)3 (10%)9 (23%)
Ease of use21 (54%)8 (28%)3 (8%)
Comments in segment392940

The same method works on other piles of free text. Summarizing exit interviews into themes follows the same read, tag and count steps, and a weekly dashboard built from CSV exports is one way to keep the counts in front of people.

Also compare the average score of rows where a theme is present against rows where it is absent. A theme that appears often but sits near your overall average is a different problem from one that appears less often and drags scores down.

7. Report the top few

Give the top three or four themes per segment, each with its count, the size of the sample, and two or three short quotes. Say how many comments the counts rest on. A theme in 4 of 40 comments is an observation, not a trend.

Doing it with an AI coworker

If you would rather not tag every row yourself, you can hand the sheet to Smalt, an AI coworker. Attach the Excel file or point it at the Google Sheet, paste in your codebook, and ask for one column per theme or one row per comment-theme pair with a short reason, plus a pivot-style breakdown by promoters, passives and detractors. It can return the result as an Excel workbook or a Google Sheet, and for a score you review every month it can build an interactive dashboard at a shareable link.

Comments often contain personal details. Upload only what your own data policy allows, and mask names before you do.

What to check before you rely on it

Check the tags yourself on a random sample. Pick 30 to 50 rows at random, tag them by hand without looking at the assigned themes, and compare. If you disagree on more than a handful, tighten the definitions and run the tagging again. This applies to a person’s tagging as much as a tool’s. Pew Research Center did the same when it used an LLM to code open-ended answers in a 2026 survey: researchers hand-coded a stratified sample of 210 responses with the same codebook, without seeing the automated codes, before trusting the automated coding for all 3,635. Pew assigned one code per response, so if you allow several themes per comment, as above, your counts will not add up to the number of comments.

Have a second person tag a subset of the same rows. Disagreements show which definitions are vague, and it is cheaper to find that out on 30 rows than on 3,000.

Read sensitive and rare comments by hand. A complaint about a named employee or a safety issue should reach a person whatever theme it was filed under, and a theme with two or three comments can still matter most.

Judge trends, not single comments. Qualtrics warns that sentiment on a single comment can be imprecise and advises looking at aggregate trends. Sarcasm and short replies such as “fine” are easy to misread by hand too.

Finally, only people who chose to write a comment are in the sheet, so themes describe those respondents and not every customer. If one segment barely wrote anything, say so in the report.

Smalt is an AI coworker that takes jobs like this end to end and hands back the finished file.