Skip to content

Advanced Excel 2026: XLOOKUP, Dynamic Arrays and LAMBDA

Irish tax guides · AI and technology · 24 November 2026 · 4 min read

Advanced Excel in 2026 means dynamic arrays and custom functions. XLOOKUP, FILTER, UNIQUE, SORT, LET and LAMBDA let one formula return a whole list, name its own steps and be reused like a built-in function. They need Microsoft 365, or Excel 2021 or 2024 for most of them. LAMBDA is supported in Microsoft 365, Excel for the web and Excel 2024.

What are dynamic arrays and why do they matter?

In older Excel, a formula returned one value in one cell. A dynamic array formula can return many values, which spill into the cells below and to the right. You type the formula once, in one cell, and Excel fills the neighbouring cells. If the source data grows, the results grow with it.

The practical gains are fewer copied-down formulas, fewer broken ranges and sheets that update themselves. If a spill is blocked by something in the way, Excel shows a #SPILL! error until you clear the cells.

Which new functions do finance people use most?

XLOOKUP and XMATCH

XLOOKUP replaces VLOOKUP. =XLOOKUP(A2, Customers[ID], Customers[Name], "Unknown") returns the name for an ID, with your own message if there is no match. It can search from the bottom with a search mode, which finds the latest entry. XMATCH returns the position of a value and is the modern partner for INDEX.

FILTER

=FILTER(Sales[Amount], Sales[Customer]="Murphy Foods") returns every amount for one customer as a live list. You can add conditions by multiplying tests: =FILTER(Sales, (Sales[Customer]="Murphy Foods")*(Sales[Amount]>1000), "None") returns whole rows for sales above €1,000.

UNIQUE and SORT

=UNIQUE(Sales[Customer]) lists each customer once. Wrap it: =SORT(UNIQUE(Sales[Customer])) gives an alphabetical customer list that updates itself. =SORTBY(...) sorts one range by another.

SUMIFS over a spilled list

Put =UNIQUE(Sales[Customer]) in F2. In G2 write =SUMIFS(Sales[Amount], Sales[Customer], F2#). The hash sign after F2 means the whole spilled list, so G2 spills a total for every customer. That is a customer summary in two formulas and no pivot table.

Worked example: a Galway wholesaler

Ciarán runs a drinks wholesaler in Galway. His sales table has 4,000 rows. He wants the top three customers for the year.

  1. In F2: =UNIQUE(Sales[Customer]) gives 62 customers.
  2. In G2: =SUMIFS(Sales[Amount], Sales[Customer], F2#) gives each total.
  3. In I2: =TAKE(SORTBY(F2#, G2#, -1), 3) lists the three biggest customers, sorted by total from highest to lowest.

If Murphy Foods has €84,000, a hotel group €61,500 and a pub chain €47,500 of €412,000 in total sales, the top three account for 193,000 / 412,000 = 46.8% of revenue. That concentration is exactly what a bank asks about; see how lenders look at it in our guide to cash flow forecasting. TAKE is a newer function, available in Microsoft 365 and Excel 2024 but not Excel 2021, so check it appears in your version before you rely on it.

What are LET and LAMBDA?

LET lets you name a value inside a formula so it is calculated once and is easier to read. =LET(rev, SUM(B2:B13), cost, SUM(C2:C13), (rev-cost)/rev) gives a gross margin and a reader can see what each part means. With revenue of €120,000 and costs of €78,000 the result is 42,000 / 120,000 = 35%.

LAMBDA goes a step further: you define your own function and call it by name. Define GrossMargin as =LAMBDA(rev, cost, (rev-cost)/rev) in the Name Manager, and then =GrossMargin(120000, 78000) returns 0.35 anywhere in the workbook. No macro is needed. That means a standard calculation, for example the way your business measures margin or ageing, is written once and corrected once.

Which version of Excel do you need?

  • XLOOKUP: Microsoft 365, Excel 2021, Excel 2024. Not Excel 2016 or 2019.
  • LAMBDA: Microsoft 365, Excel for the web, Excel 2024.
  • FILTER, UNIQUE, SORT, LET: Microsoft 365 and Excel 2021 or later; confirm in your own copy.

If a file will be sent to a client or auditor with older Excel, the new formulas show as errors for them. Send values only, or a PDF.

Common mistakes

  • Building a model that only works in the newest Excel and sharing it with people who cannot open it.
  • Typing over part of a spilled range.
  • Naming LAMBDA functions vaguely, so nobody knows what they do. Use a clear name and write a short note in a cell beside it.
  • Skipping checks: always compare a total from the new formula with your ledger or trial balance. Our post on data analytics for finance covers sensible checks.

Key points

  • Dynamic arrays return a whole list from one formula and update as data changes.
  • XLOOKUP, FILTER, UNIQUE and SORT replace most old lookup and helper-column tricks.
  • LET makes long formulas readable; LAMBDA turns them into reusable functions.
  • Check your Excel version before sending a file to someone else.

Our Strategic Management programme shows you how to turn these tools into the models and dashboards a bank or board expects, so you can produce them yourself.

Questions people ask

What is a dynamic array in Excel?
A dynamic array formula returns several values from one formula, and they spill into the cells below or beside it. If the source data changes, the results resize automatically. It replaces much of the copying down that older formulas needed.
Which versions of Excel have XLOOKUP and LAMBDA?
XLOOKUP works in Microsoft 365, Excel 2021 and Excel 2024, but not in Excel 2016 or 2019. LAMBDA is supported in Microsoft 365, Excel for the web and Excel 2024. Check your own version before building a shared model.
What does the LAMBDA function do?
LAMBDA lets you create your own reusable function from a formula and call it by a name you choose. You define it once in the Name Manager and it is available across the workbook without any VBA or macros.
What causes a #SPILL! error in Excel?
A #SPILL! error means the formula wants to fill several cells but something is in the way, such as other data or a merged cell. Clear or move the blocking cells and the results will appear.

Know someone this would help? Share it.