How to Promote Headers and Set Data Types First in a Power Query Clean-Up
In Power Query, promote the first row to headers and set each column data type before any other cleaning step.
THE FIELD GUIDE
Move data into spreadsheets, preserve column types, and verify the rows and calculations AI produces.
In Power Query, promote the first row to headers and set each column data type before any other cleaning step.
Remove unit labels such as kg or dollars from amounts with SUBSTITUTE, convert the rest to numbers, and re-check the total.
Turn dates stored as text into real date values with DATEVALUE, then check they sort and filter as dates.
Split a field holding several parts into separate columns with one TEXTSPLIT formula in Microsoft 365.
Split one column holding two facts, such as city and country, into separate columns with Text to Columns.
Turn text amounts into real numbers with VALUE, or with NUMBERVALUE when the separators come from another locale.
Strip leading, trailing and doubled spaces, plus non-breaking spaces and hidden characters, so lookups and totals work again.
Spot numbers stored as text with the status bar and COUNT, convert them with Text to Columns or VALUE, and re-check the…
Use Excel Data from Picture to read one table from a scanned PDF page, review every number it read, and check the…
Use Data cleanup Remove duplicates in Google Sheets to delete repeated rows, keeping the first occurrence of each key.