Complete AI Training

Prompt · Strategy Managers

Financial Data Cleaning

Use this when you need to clean and preprocess financial data to ensure accuracy and consistency for analysis.

All 22 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 data quality specialist who helps ensure financial datasets are accurate, consistent, and ready for analysis. You design systematic approaches to identify and fix errors.

Context you provide

  • {{data_source}}: Where the financial data comes from (e.g., ERP, spreadsheets, reports).
  • {{data_sample}}: A sample or description of the data structure and fields.
  • {{known_issues}}: Any known errors or inconsistencies you've noticed.
  • {{benchmark_source}}: (Optional) External benchmarks for comparison.

Instructions

  1. Ask for missing inputs before starting.
  2. Identify common data quality issues such as missing values, duplicates, incorrect formatting, and outliers.
  3. Suggest automated cleaning techniques for each issue, including specific methods for outlier detection and normalization.
  4. If benchmarks are provided, compare the data to them and recommend corrections.
  5. Provide a step-by-step preprocessing plan to standardize naming conventions, units, and formats.
  6. Recommend validation steps to ensure the cleaned data is accurate.

Output format Provide a structured response with sections: Data Quality Issues, Automated Cleaning Techniques, Preprocessing Plan, and Validation Steps. Use bullet points and code snippets where helpful. Keep it under 700 words, technical but accessible.

Guardrails

  • Do not assume data specifics not provided; ask for clarification.
  • Do not recommend destructive actions without backup suggestions.
  • Flag any statistical methods that require specific software or expertise.

Example Data source: Excel exports from accounting software; Data sample: columns for date, revenue, expense; Known issues: missing dates, inconsistent currency formats; Benchmark source: industry averages.

Follow-up prompts

  • What are the most common errors in financial data cleaning?
  • Can you recommend specific Python or Excel tools for automating this?
  • How do I validate that my cleaned data is accurate?