ExcelFormulas logoExcelFormulas.
Perguntar à IA
TextoTestado por QA

UNIRTEXTO (TEXTJOIN).

Combina texto de múltiplos intervalos usando um delimitador especificado e ignorando células vazias.

Texto
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Como funciona na prática.

UNIRTEXTO é uma função essencial no Excel. Combina texto de múltiplos intervalos usando um delimitador especificado e ignorando células vazias. Facilita a automação de relatórios, otimiza consultas de dados e garante máxima produtividade no seu fluxo de trabalho.

💡 Em termos simples.

Glues text from different cells together into one cell, placing a separator of your choice (like a comma) in between.

Analogia do Dia a Dia

"Think of this like threading letter beads on a necklace. You choose a separator (like a space or comma) to put between each bead (word)."

Sintaxe.

Notação Oficial do Excel
=UNIRTEXTO(delimitador; ignorar_vazio; texto1; [texto2]; ...)
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.

delimiterObrigatório

The character(s) to place between each item.

Exemplo: ", "
ignore_emptyObrigatório

TRUE = Skip empty cells, FALSE = Include empty cells in output.

Padrão: TRUE
text1Obrigatório

The first cell range or text item to combine.

Exemplo: A2:C2

Exemplo passo a passo.

Cenário de Aplicação

Assemble Full Address

Join Street, City, and Zip Code with a comma, ignoring any empty fields.

StreetCityZip CodeFormatted AddressFormat
123 Elm StSeattle98101—Comma Space
456 Pine Rd—90210——
789 Oak AveNew York10001——
Fórmula Aplicada
=TEXTJOIN(", ", TRUE, A2:C2)
Resultado Esperado::Calculated output

Evaluates TEXTJOIN over the sample table cells, placing the verified output in cell D2:D6.

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

  • TEXTJOIN can combine an entire range of cells (e.g. A2:A50) in a single argument, which was impossible with CONCATENATE.
  • It is extremely useful for building formatted lists, joining address fields, or creating CSV rows.

Erros Mais Comuns

  • Excel caps formula return text length at 32,767 characters. Joining thousands of cells may trigger a #VALUE! error.
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

Introduced in Excel 2019 and Excel 365. Available across Excel 2019, Excel 2021, and Excel 365.

Notas sobre o Google Planilhas

100% compatible with Google Sheets with identical delimiter and ignore_empty parameters.

Perguntas frequentes.

Dúvidas Técnicas
Can I use TEXTJOIN across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =TEXTJOIN(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in TEXTJOIN?↓

Excel caps formula return text length at 32,767 characters. Joining thousands of cells may trigger a #VALUE! error.

Does TEXTJOIN work identically in Google Sheets?↓

Yes, TEXTJOIN is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.