New Tool Radar

AI for Data & Spreadsheets

How to Use the AI Function in Google Sheets to Classify Feedback

Use the AI function in Google Sheets to classify feedback comments, then verify each label by reading the comment.

Schematic illustration for How to Use the AI Function in Google Sheets to Classify Feedback: three numbered steps - Write the AI prompt; Fill the column down; Read each comment, check label.

Google Sheets has an AI function that can classify text, such as marking feedback as positive or negative, right inside a cell. The labels it returns are guesses, so each one must be verified by reading the comment, especially the short or sarcastic ones where the label is most likely wrong.

Prerequisites

  • Google Sheets with the AI function available
  • A column of feedback comments
  • A copy of the source file, so the original stays untouched.

Steps

  1. In a new column, enter the AI function with a prompt that names the labels to use, such as Positive or Negative, and points at the comment cell.
  2. Fill the formula down the column and wait for the labels to appear.
  3. Read each comment and its label together, and flag any label that does not match what the comment says.
  4. Correct the flagged labels by hand, and note the kinds of comment the AI gets wrong.
  5. Count the labels with COUNTIF and check the counts add to the number of comments.

Worked example: Fictional workshop feedback classification

The practice table below is a fictional five-comment feedback list. The positive column is 1 for a positive label and 0 otherwise, and the total is the number of positive comments. The table below is fictional practice material, with fictional values. It is the expected result, worked out by hand, not a run of any tool.

Comment Label Positive
Great session, very clear Positive 1
Too fast in the middle Negative 0
Loved the examples Positive 1
Room was too cold Negative 0
Would come again Positive 1
Total 3

Expected result. Five comments classified, three positive and two negative, and the positive count is 3. UNTESTED: no AI function was run for this guide; the table shows the expected values a check should produce.

Limits

  • The AI function needs an eligible plan, so it may not be available on every account.
  • Short or sarcastic comments are the most likely to be misclassified, so read those first.

Sources

See all