Data Cleaning and Standardization with Power Query in Excel
Automate the process of cleaning messy data using Power Query to transform inconsistent datasets into reliable, analysis-ready sources.
Build an ETL (extract, transform, load) workflow in Excel Power Query to clean, standardize, and consolidate datasets affected by common real-world corporate data problems.
At a glance
Access
Free prompt
Open to copy without upgrading.
Prompt objective
Build an ETL (extract, transform, load) workflow in Excel Power Query to clean, standardize, and consolidate datasets affected by common real-world corporate data problems.
Real use case
The HR department of Construtora Horizonte in Goiânia receives a monthly timesheet for 800 employees that arrives with names in all capitals, unformatted tax IDs, dates in 3 different formats, and merged columns — taking 2 full days to clean manually.
Customize these fields first
Replace the placeholders with your own context before you run the prompt. That usually improves the first output more than adding more instructions later.
Prompt
Build a complete data cleaning workflow using Power Query in Excel for the [DATA TYPE] dataset of [COMPANY NAME], which has [NUMBER] records and the following known issues:\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Identified data problems:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n1. [PROBLEM 1 — e.g., names with inconsistent accents and mixed capitalization]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n2. [PROBLEM 2 — e.g., tax IDs missing masks and missing digits]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n3. [PROBLEM 3 — e.g., dates in dd/mm/yyyy and mm-dd-yyyy formats mixed together]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n4. [PROBLEM 4 — e.g., monetary values with and without currency symbols, commas and periods]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n5. [PROBLEM 5 — e.g., partial duplicates and incomplete records]\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**For each problem, provide:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Power Query step (GUI steps + M code when needed)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Equivalent Google Sheets formula (CLEAN, SUBSTITUTE, TRIM, REGEX)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Validation: how to confirm the cleaning worked\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Complete ETL workflow:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n1. Source connection (folder with monthly CSV/XLSX files)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n2. Cleaning transformations (step by step)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n3. Merge with reference table ([AUXILIARY TABLE])\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n4. Required calculated columns\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n5. Load to destination table\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n6. Auto-refresh configuration\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n**Bonus:**\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- Data quality checklist (completeness, uniqueness, consistency)\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n- 5 equivalent Google Sheets formulas for users without Power Query\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\nAccount for Brazilian-specific data: postal codes, 9-digit phone numbers, and the distinction between legal company name and trading name.
Open directly in an AI — the text is pre-filled:
How to use this prompt
- 1Replace the key placeholders first: DATA TYPE, COMPANY NAME, NUMBER, PROBLEM 1 — e.g., names with inconsistent accents and mixed capitalization.
- 2Replace any bracketed placeholders like [this] with your own context.
- 3Add extra background information when you want more tailored results.
- 4Combine multiple prompts in one conversation when you need a richer output.
- 5Save your best-performing prompts so they are easy to reuse later.
Next best step
Open the guide first, then branch only if you still need more.
A guide for technical builders choosing between prompts, coding workflows, and agent-based implementation.
If this prompt is close but not quite right, generate variants next. If the job is recurring, move into the course library after the guide.
Related prompts
View allAutomated Financial Dashboard in Excel with VLOOKUP and Pivot Tables
Build a complete financial dashboard using advanced Excel formulas and pivot tables for monthly performance tracking.
Best for
Create an interactive financial panel in Excel that consolidates revenue, expenses, and contribution margin data with automatic updates via pivot tables.
Smart Inventory Control with XLOOKUP and Conditional Formatting
Build an inventory management spreadsheet with automatic alerts, reorder forecasting, and ABC analysis using advanced formulas.
Best for
Develop an Excel or Google Sheets inventory control system that classifies products using the ABC curve, calculates reorder points, and generates automatic visual alerts.
VBA macro for monthly management report automation
Develops VBA macros in Excel to automate monthly management report generation—a process that typically consumes hours of the finance team's time.
Best for
Create a set of VBA macros that automate data consolidation from multiple sheets, generate standardized charts, and export reports as PDF for executive distribution.
Financial projection model with scenarios in Google Sheets
Creates a 12-month financial projection model with optimistic, realistic, and pessimistic scenarios using Google Sheets with advanced formulas.
Best for
Build a financial projection model in Google Sheets that allows simulation of 3 different scenarios, with adjustable assumptions and sensitivity analysis for decision-making.
Explore other prompt categories
Move sideways into adjacent libraries when the current category is not the full answer.
Free browsing stays open. Premium prompts unlock the reusable workflow layer.
Use the guides and role paths to validate the job first. Upgrade when you want the full prompt text, editable premium prompts, and the surrounding course paths in one place.
Free access
- Browse guides, role paths, and category pages.
- Preview prompts before you decide to upgrade.
- Find the right starting point without friction.
Membership access
- Unlock premium prompts and the full copy text.
- See more workflow paths and course connections.
- Keep the reusable templates in one place.