ExcelFormulas logoExcelFormulas.
Perguntar à IA
Pesquisa e ReferênciaTestado por QA

ÍNDICE & CORRESP (INDEX & MATCH).

Combina ÍNDICE e CORRESP para pesquisas flexíveis e bidirecionais sem limitações de colunas.

Pesquisa e Referência
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Como funciona na prática.

ÍNDICE & CORRESP é uma função essencial no Excel. Combina ÍNDICE e CORRESP para pesquisas flexíveis e bidirecionais sem limitações de colunas. Facilita a automação de relatórios, otimiza consultas de dados e garante máxima produtividade no seu fluxo de trabalho.

💡 Em termos simples.

MATCH finds the row number of your lookup item. INDEX uses that row number to grab the corresponding value from another column.

Analogia do Dia a Dia

"Think of MATCH like a detective finding the row number of a suspect, and INDEX like a crane going directly to that row number to pick up the package."

Sintaxe.

Notação Oficial do Excel
=ÍNDICE(matriz; CORRESP(valor_procurado; matriz_pesquisa; 0))
Dica: Argumentos entre colchetes [como_este] são opcionais; todos os outros são obrigatórios.

Argumentos.

Confira abaixo o detalhamento de cada parâmetro aceito por esta função.

return_arrayObrigatório

The range containing the value you want to return.

Exemplo: A2:A6
lookup_valueObrigatório

The value you want MATCH to search for.

Exemplo: D2
lookup_arrayObrigatório

The range that MATCH searches in.

Exemplo: B2:B6
match_typeOpcional

0 = Exact match (recommended), 1 = Less than, -1 = Greater than.

Padrão: 0

Exemplo passo a passo.

Cenário de Aplicação

Reverse ID Lookup

Retrieve the Name of a student based on their ID (the search column is to the right of the name column).

Student NameID CodeGradeQuery IDStudent Name
EmmaST-402AST-404—
LiamST-403B——
OliviaST-404A+——
Fórmula Aplicada
=INDEX(A2:A6, MATCH(D2, B2:B6, 0))
Resultado Esperado::Calculated output

Evaluates INDEX & MATCH over the sample table cells, placing the verified output in cell E2.

Gerador de fórmula.

Abrir Assistente Completo

Preencha os campos abaixo para gerar uma fórmula pronta para copiar e colar na sua planilha.

Generated FormulaPronta para copiar

Comportamento do resultado.

Returns "Calculated output" based on sample evaluation criteria and active cell references.

Amostra de Saída::Calculated output
Tipo de Dado::Text

Boas Práticas

  • INDEX-MATCH works perfectly looking left, unlike VLOOKUP which can only search to the right.
  • It is excellent for two-way lookups (looking up both row and column titles) by nesting a second MATCH function inside the column argument of INDEX.

Erros Mais Comuns

  • Be careful to match the boundaries of the ranges. If INDEX is A2:A6 and MATCH is searching B1:B6, the offset will cause incorrect values to be returned.
Matriz de Compatibilidade

Compatibilidade de software e versão.

Validação técnica fundamentada nas especificações oficiais da Microsoft e do Google.

Excel✓
Compatível
Excel 365✓
Compatível
Excel 2021✓
Compatível
Excel 2019✓
Compatível
Google Sheets✓
Compatível
Histórico e Versões do Excel

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Notas sobre o Google Planilhas

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Perguntas frequentes.

Dúvidas Técnicas
Why do financial analysts prefer INDEX & MATCH over VLOOKUP?↓

INDEX & MATCH does not require counting column offsets, allows leftward lookups, calculates faster in large workbooks because it reads only two columns, and never breaks when someone inserts or deletes columns.

Why is MATCH returning a #N/A error?↓

Ensure the third argument in MATCH (match_type) is explicitly set to 0 for exact matching. Also check for mismatched data types (such as numbers formatted as text).