XLOOKUP vs VLOOKUP: what actually changes in your work
VLOOKUP has three structural weaknesses that cause most lookup errors. XLOOKUP removes all three — here is exactly how, and what to do when your Excel version does not have it.
Ask people what takes the longest in their reporting work and the answer is rarely "the analysis". It is the preparation: opening the export, deleting the four header rows, splitting the reference column, fixing the dates that arrived as text, removing duplicates, and pasting the result into the template. Every month, the same sequence, done by hand.
Power Query exists to record that sequence once and replay it on demand. It ships inside Excel — 2016 and later on Windows, and in Microsoft 365 on Mac — under Data → Get Data.
A query is an ordered list of steps applied to a source. You do not edit data; you edit the recipe. When next month's file arrives, the recipe runs again from the top. That distinction is the whole idea, and it is why a query survives a new file while a manual clean-up does not.
Say you receive a monthly sales export with a title block above the real headers, a customer reference like FR-10432-A that needs splitting, dates as text, and a stray total row.
Next month: replace the source file, right-click the table, Refresh. That is the entire process.
Removing rows by position instead of by condition. "Remove top 4 rows" is fine for a fixed export template. "Remove rows 15 to 18" is a time bomb, because next month the junk will be somewhere else. Filter on what the row is, not where it sits.
Hard-coding the file path. The query stores an absolute path, so the file works on your machine and fails on your colleague's. Create a parameter for the folder, or use a path relative to the workbook, and the query moves with the file.
Renaming columns early. If you rename a column in step 2 and the source later renames it upstream, every subsequent step breaks. Do renaming near the end, once the shape is stable.
Once one file works, point the query at a folder instead: Get Data → From File → From Folder. Power Query reads every file in it and stacks them into one table. Dropping next month's export into the folder and hitting refresh is the whole monthly process. This is where the hours actually come back.
The basics — connect, shape, load, refresh — take an afternoon. Unpivoting, merging and folder combine take a few hours more. Against several days a year spent on manual clean-up, it is the clearest return on time available anywhere in Excel.
VLOOKUP has three structural weaknesses that cause most lookup errors. XLOOKUP removes all three — here is exactly how, and what to do when your Excel version does not have it.
Sales says 4,120 active customers. Finance says 3,880. Both are right. The problem is not the data — it is that nobody wrote down what "active" means.
Most dashboards fail for design reasons, not technical ones. These six account for the majority of the ones nobody opens twice.