What You Will Learn
You will learn how to use Gemini or an AI function to classify free-text comments into practical business themes such as workload, compensation, product quality, service issues, manager support, or process friction.
Required Dataset
No external dataset is required.
Create three tabs:
Raw_Comments
Theme_Classification
Theme_Check
Before You Start
In Raw_Comments, create a short list of employee or customer comments, such as:
The workload has been too high since the team reorganized.
Pay does not feel competitive compared with the market.
The product works well, but delivery takes too long.
Customer service was helpful and resolved my issue quickly.
The process has too many manual steps and approvals.
Step-by-Step Instructions
Step 1. Create classification fields
In Theme_Classification, create columns for:
Comment ID
Raw Comment
Primary Theme
Secondary Theme
Evidence Phrase
Confidence Level
Review Needed
Copy the comments from Raw_Comments into Raw Comment.
Step 2. Ask Gemini to classify the comments
Open Gemini and enter:
Act as a business analyst.
Classify each comment in Theme_Classification into one primary theme.
Allowed themes:
Workload, Compensation, Product Quality, Service Issue, Manager Support, Process Friction, Delivery / Fulfillment, Positive Feedback, Other / Unclear.
Return the primary theme, optional secondary theme, short evidence phrase, confidence level, and whether the row needs review.
Paste the output into the correct columns.
Step 3. Use an AI function if available
If your Sheets environment supports AI functions, use a formula like:
=AI(“Classify this comment into one theme: Workload, Compensation, Product Quality, Service Issue, Manager Support, Process Friction, Delivery / Fulfillment, Positive Feedback, Other / Unclear. Return only the theme.”, B2)
Copy the formula down.
Step 4. Add a review-needed rule
If Confidence Level is in column F, use:
=IF(OR(F2=”Low”,C2=”Other / Unclear”),”Yes”,”No”)
Expected Result
You should have a structured comment classification table with each comment assigned to a theme, supporting evidence, confidence level, and review status.
Check Your Work
Confirm that the theme matches the actual comment, low-confidence rows are flagged, and Gemini did not overinterpret vague comments.
Optional Extension
Ask Gemini:
Summarize the classified comments by theme. Identify the most common themes, themes needing review, and possible follow-up questions for management.
