How to get started with Power Query in Excel (Get & Transform)

Updated · DeskHowTo

In Excel for Microsoft 365 / Excel 2021–2024 (verified 2026-10-24), select a Table or range, open Data > From Table/Range, clean steps in the Power Query Editor, then Home > Close & Load to put the result on a sheet.

Later, right-click the output and Refresh when the source changes. Power Query records each clean step so you can re-run it.

Jump to

Applies to Excel for Microsoft 365 and Excel 2021/2024 on Windows (Mac has a subset of connectors). Excel for the web has limited Power Query. You need a Table or file you are allowed to read.

Load and clean with Power Query

Start from a sheet table

  1. Click inside your data and press Ctrl+T if it is not already a Table.
  2. Go to Data > From Table/Range.
  3. The Power Query Editor opens with a preview.

Common clean steps

  1. Use Home > Remove Rows or filter arrows to drop blanks.
  2. Transform > Data Type to set whole number / date / text.
  3. Rename columns by double-clicking headers; split columns under Split Column if needed.

Close & Load and refresh

  1. Click Home > Close & Load (or Close & Load To… for a connection-only or Data Model load).
  2. A new sheet (or Table) appears with the shaped data.
  3. When the source updates: right-click the output Table > Refresh, or Data > Refresh All.

Our take: query once, refresh forever

Use Power Query for recurring CSV/folder imports and messy exports. For a one-off tidy-up, Flash Fill or Paste Special may be faster. Avoid editing the output Table by hand — change the query steps instead.

If it fails

  • From Table/Range greyed out: select a cell inside the data first.
  • Formula steps break on refresh: a column was renamed upstream — fix the step in Applied Steps.
  • Mac missing a connector: some folder/web connectors are Windows-only — use CSV export as a bridge.
  • Huge files slow: filter early in Applied Steps; load to Data Model when analysing large facts.

Frequently asked questions

Where is Power Query in Excel?

Mostly under the Data tab (Get Data / From Table/Range) — formerly Get & Transform.

Does Close & Load overwrite my source?

No — it writes a separate output Table or connection.

How do I edit steps later?

Data > Queries & Connections > double-click the query to reopen the editor.

Power Query vs formulas?

Queries reshape whole tables repeatably; formulas calculate cell-by-cell.

Is Power Query on Excel for the web?

Only limited support — prefer desktop for serious transforms.

Sources checked: Microsoft Support: About Power Query in Excel. Verified October 2026.