ExcelFormulas logoExcelFormulas.
Preguntar a IA
TextoVerificado por QA

UNIRCADENAS (TEXTJOIN).

Une texto de varios rangos o cadenas utilizando un delimitador y permitiendo omitir celdas vacías.

Texto
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Cómo funciona.

UNIRCADENAS es una función fundamental de Excel. Une texto de varios rangos o cadenas utilizando un delimitador y permitiendo omitir celdas vacías. Permite automatizar hojas de cálculo, simplificar fórmulas complejas y analizar datos con total precisión en Microsoft Excel y Google Sheets.

💡 En palabras sencillas.

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

Analogía Cotidiana

"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)."

Sintaxis.

Notación Estándar de Excel
=UNIRCADENAS(delimitador; ignorar_vacías; texto1; [texto2]; ...)
Consejo: Los argumentos entre corchetes [como_este] son opcionales; todos los demás son obligatorios.

Argumentos.

A continuación se detallan todos los parámetros aceptados por esta función.

delimiterObligatorio

The character(s) to place between each item.

Ejemplo: ", "
ignore_emptyObligatorio

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

Valor por defecto: TRUE
text1Obligatorio

The first cell range or text item to combine.

Ejemplo: A2:C2

Ejemplo práctico.

Caso de Uso Paso a Paso

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.

Generador de fórmula.

Abrir Asistente Completo

Personaliza los campos de argumento a continuación para generar una fórmula lista para copiar y pegar en tu hoja de cálculo.

Generated FormulaLista para copiar

Comportamiento del resultado.

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

Resultado de Muestra::Calculated output
Tipo de Salida::Text

Buenas Prácticas

  • 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.

Errores Frecuentes

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

Compatibilidad de plataforma y versiones.

Matriz verificada con base en los motores de cálculo oficiales de Microsoft Excel y Google Sheets.

Excel✓
Compatible
Excel 365✓
Compatible
Excel 2021✓
Compatible
Excel 2019✓
Compatible
Google Sheets✓
Compatible
Disponibilidad y Versiones de Microsoft Excel

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

Notas sobre Compatibilidad con Google Sheets

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

Preguntas frecuentes.

Dudas 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.