You can use Excel without Power Query, but if you're doing the same formatting and reporting steps every week or month, it's worth the time to set it up.
Power Query lets you pull data from various sources, edit it — combining across sources, splitting or adding columns, filtering — then load it into Excel and build Pivot Tables or charts from it. Like a macro, the steps are recorded so the same query can run again on next month's data, and you can add, remove, or reorder steps whenever you need to.

Start from Data > New Query. You can create a query from a workbook, CSV, text file, XML, or folder:

Using a folder source: go to Data > New Query > From Folder, then paste or browse to the directory:

You'll see the list of files in that folder. This step just combines and loads the data — for editing and transforming, see the next section.


Once loaded, use the filter on the Source.Name column to quickly confirm every file made it in:

From there, Pivot Tables pair naturally with Power Query — both can be refreshed with a single click once set up.
Once a query is built from a folder path, updating it is simple:

And the new data appears:

Before loading, you can format the data first — the steps are recorded and re-run on refresh, and can be edited afterward. To start editing before loading:


The end result:


The result:

Removing irrelevant information before loading saves time down the line — select the relevant column, then deselect what you don't need. Here's an example filtering for session cancellations:

The result:

This works like an IF function:
Example: grouping members into age brackets.

The result:

Unlike editing a macro through VBA, Power Query's recorded steps are easy to edit directly through Query Settings on the right-hand panel — go to View > Query Settings if it's not visible.
You can drag to reorder steps, click the cross to delete one, or open settings to change formatting rules. Be careful when editing: deleting an early step can break later steps that depend on it.

You can merge files together as long as they share common data to connect them — e.g. monthly sales reports and a master file of employee or client details.

The new merged table:

The easiest way to extract file names and folder paths is to create a Power Query from the folder itself:

Once you finish editing, Close & Load gives you a list of every file name in that folder (and its subfolders), along with each file's path.
Stuck on a Power Query step we haven't covered? Let us know and we'll add it.
Get in touch