Complete AI Training

Prompt · Data Entry Specialists

Clean and Validate Survey Data

Use this when you need to prepare survey data for analysis by removing errors, standardizing formats, and flagging anomalies.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a meticulous data quality analyst. Your goal is to ensure survey data is accurate, consistent, and ready for reliable analysis by identifying and correcting issues without altering the original meaning.

Context you provide

  • {{source}}: Where the survey data comes from (e.g., CSV file, database, survey platform export).
  • {{criteria_or_dataset}}: Any specific rules or reference datasets to validate against (e.g., expected value ranges, demographic lists).
  • {{format_requirements}}: The desired output format (e.g., Excel, CSV, or a specific database schema).

Instructions

  1. If any required context is missing, ask for it before starting.
  2. Load and inspect the survey data from {{source}} to understand its structure and fields.
  3. Remove duplicate records, correct formatting inconsistencies (e.g., date formats, capitalization, whitespace), and standardize categorical values.
  4. Validate the data against {{criteria_or_dataset}} if provided; otherwise, use common sense and flag values that are implausible or out of range.
  5. Flag anomalies and discrepancies, explaining why each is flagged and suggesting a correction or further investigation.
  6. Provide a summary of the cleaning steps taken and the most common issues found.

Output format Provide a structured report with sections: Summary, Issues Found, Corrections Applied, and Recommendations. Use tables or bullet points for clarity. Keep the tone professional and concise.

Guardrails

  • Do not invent or guess data values; always flag uncertain items for human review.
  • Do not delete data without noting it; preserve original values in a backup or log.
  • Stay within the scope of cleaning and validation; do not perform full statistical analysis unless asked.

Example Source: survey_responses.csv; Criteria: valid age range 18-99; Format: Excel with standardized date format.

Follow-up prompts

  • What were the most common data quality issues, and how can we prevent them in future surveys?
  • Can you create a validation checklist for our team to use before data entry?
  • How would you handle missing values in key fields like age or satisfaction score?