Every article on this topic argues from opinion. This one argues from a stopwatch. We built the same job twice — a rebate lookup that has to keep working as orders arrive — and timed the formula version at six sizes, from 100 rows to 10,000. The result is not what the usual advice predicts: the formula column is not slow, it is rented. It charges 17.35 microseconds per row, forever, and the charge does not get cheaper as you scale.
At 10,000 orders, the formula column costs 173.54 ms of engine work to fill and keep. That is fast enough that nobody notices. The problem is what that number is made of: 10,000 separate formula cells, each one a small permanent tenant that has to be audited, recalculated, migrated and explained. Power Query does the same job with one query and one written column, so the 10,001st order costs you a row, not a row plus a formula. Neither approach is wrong. They have different shapes of cost, and most people pick by fashion instead of by shape.
One job: add a Rebate column to an order table, where every order row looks up its customer's rebate in a reference table on a second sheet. The formula build puts an =XLOOKUP() in every row. Each row is written, then read back, so the timer includes evaluation and not just string insertion. Same data every run, seeded, so the numbers are reproducible rather than anecdotal.
| Rows | Formula cells | Measured cost | Time | Per row | vs 100 | Source |
|---|---|---|---|---|---|---|
| 100 | 100 | 9.93 ms | 99.26 μs | ×1.00 | measured | |
| 500 | 500 | 19.37 ms | 38.74 μs | ×1.95 | measured | |
| 1,000 | 1,000 | 20.69 ms | 20.69 μs | ×2.08 | measured | |
| 2,000 | 2,000 | 39.35 ms | 19.67 μs | ×3.96 | measured | |
| 5,000 | 5,000 | 86.67 ms | 17.33 μs | ×8.73 | measured | |
| 10,000 | 10,000 | 173.54 ms | 17.35 μs | ×17.48 | measured | |
| 50,000 | 50,000 | ~855 ms | 17.35 μs | — | linear estimate | |
| 100,000 | 100,000 | ~1,710 ms | 17.35 μs | — | linear estimate |
← swipe the table sideways on a phone →
Look at the per-row column instead. It falls from 38.7 μs at 500 rows to 17.35 μs at 10,000 — and then it stops falling. That floor is the real price of one more order, and it does not improve with scale, better hardware, or a newer Excel. Extend that floor linearly and 100,000 rows lands at roughly 1,710 ms of engine work per full recalculation. That figure is an extension, not a measurement, and it is labelled as such in the table above. The transferable fact is the shape: a flat per-row charge with no expiry date, which is a very different thing from a slow formula.
Columns three and four are not milliseconds. Power Query cannot be executed inside HyperFormula, so pretending to time it would make every number on this page worthless. What follows is what each approach structurally owns, written as facts you can check against the product rather than results of a run.
| Dimension | Formula column | Power Query |
|---|---|---|
| Cost grows when data grows | yes — one more formula per new row | no — one more row into one query |
| Where the logic lives | spread across N cells | one Applied Steps list |
| Reading it back in 6 months | click cells one by one | read step names top to bottom |
| Error message quality | #N/A in one cell among thousands | step name + offending row |
| Undo blast radius | the cell | the query (re-runnable) |
| Runs with the workbook closed | no | no |
| Runs in Google Sheets | partly (no XLOOKUP in older Sheets) | no |
| Mac Excel | full | yes, editor is Windows-first |
| Someone else can audit it | harder as N grows | easier |
| Ties you to Excel | no — formulas export | yes — M is Excel-only |
This is the honesty clause, and it is also the reason this page is worth reading. We measured the formula side because we can. We did not measure the Power Query side because it does not run in a browser engine, and a fabricated millisecond is worse than an absent one. If you need a refresh-time comparison on your own file, the only valid method is to build both and time them in your Excel, with your data, on your machine — and that is a twenty-minute experiment, not an article.
The most repeated piece of spreadsheet advice is that whole-column references like =SUMIFS(D:D,B:B,A2) are slow and you should always write exact ranges. We ran it both ways, five times per size, and took the median. The engine stores sparse data, so an empty tail costs almost nothing to skip.
| Rows | Exact range | Whole column | Scale | Ratio | Same answer |
|---|---|---|---|---|---|
| 500 | 0.49 ms | 0.49 ms | 1.01× | ✓ identical | |
| 2,000 | 0.97 ms | 2.28 ms | 2.36× | ✓ identical | |
| 5,000 | 2.05 ms | 2.05 ms | 1.00× | ✓ identical |
Ratios came out at 1.01×, 2.36× and 1.00× with identical results in every run. In this engine, whole-column references are not reliably slower, and at 5,000 rows the difference vanished. That does not mean exact ranges are pointless — they are self-documenting, they survive someone inserting a total row at the bottom, and they behave predictably in Excel's own dependency tracker. But if you are hunting for the reason a workbook feels slow, this is not where the milliseconds are. They are in the per-row formula count, which is the first table on this page.
The realistic version of the switch: not "rewrite everything", but "move the one column that keeps growing". Five moves, in the order that keeps the workbook working at every step.
| What you do | Formula column | Power Query | Note |
|---|---|---|---|
| Turn the range into a table | Select A1:F5001, Insert → Table | Same step — query needs a table source. Do this first even if you never open Power Query. | This one step is worth doing alone: it makes every later range self-expanding. |
| Get the reference table in | Leave it as a range, reference it in 10,000 formulas | Data → Get Data → From Table/Range → close & load as Connection Only | Connection Only means it does not add a sheet; the join reads it directly. |
| Do the lookup | =XLOOKUP(B2,Tiers!$A$2:$A$31,Tiers!$C$2:$C$31,0) filled down | Merge Queries → Customer = Name → Expand → Rebase | One step. It replaces every occurrence of the formula at once. |
| Handle unmatched customers | IFNA(XLOOKUP(...),0) — wrap every row, or accept #N/A | The merge leaves null; Add Column → Replace Values → 0 | A null in a merge is visible as null, not as a red cell you have to hunt for. |
| Load and keep it fresh | Nothing to do — it recalculates when Excel feels like it | Close & Load To… → Table, then Data → Refresh (or Refresh on Open) | The trade: refresh is explicit. Formulas are implicit. Pick the one you can remember to do. |
Four situations where the formula column is the correct answer, and moving to Power Query costs you more than it saves.
Below that size the formula column costs single-digit milliseconds and the setup cost of a query (plus explaining M to whoever inherits the file) is larger than the entire saving. Optimising a 400-row sheet is a hobby, not engineering.
Power Query does not exist there. If the workbook lives in two ecosystems, the formula column — written with SUMIFS rather than XLOOKUP — is the only version that survives the trip. Choose portability over elegance when the file travels.
Power Query runs on Mac Excel, but the editor is Windows-first and the experience differs enough that most Mac users will not touch it. A solution the maintainer will not open is not a solution.
If you need the answer today and the file will be archived on Friday, the formula column is correct. Power Query pays back over refreshes. A one-shot has no second refresh to pay it back with.