Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Dynamic Lookups with XLOOKUP and Arrays | Combining Dynamic Array Functions
Excel Dynamic Arrays – Practical Mastery

bookDynamic Lookups with XLOOKUP and Arrays

Deslize para mostrar o menu

Dynamic arrays in Excel have significantly enhanced how you can perform lookups and retrieve multiple results with a single formula. The XLOOKUP function, when combined with spilled arrays, allows you to search for several values at once and return corresponding results in a clean, dynamically updating column. This approach is especially useful when you want to look up and return data for a list of Employee IDs or any other identifiers, without writing separate formulas for each lookup.

1
=XLOOKUP(G2#, A2:A20, B2:B20)
copy

Using array-driven lookups like this offers several advantages over traditional, individual lookup formulas. With a single formula, you can retrieve results for an entire list, and any changes to the source array—such as adding or removing Employee IDs—will automatically update the output. This reduces manual work, minimizes errors, and makes your spreadsheets more dynamic and easier to maintain.

Tarefa

Swipe to start coding

Return a list of Employee Names for all Employee IDs in a given Department using a single formula.

  • Filter the Employee IDs in column A where the Department in column C matches the value in cell E2.
  • Use XLOOKUP to return the Employee Names from column B for the filtered Employee IDs.
  • The result must spill as a single-column list of names for the selected department.

Solução

question mark

How does the output of a spilled XLOOKUP formula change if an Employee ID is removed from the source array?

Select the correct answer

Mark tasks as Completed
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 2

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

Seção 3. Capítulo 2
some-alt