{"id":453,"date":"2025-07-15T13:34:46","date_gmt":"2025-07-15T13:34:46","guid":{"rendered":"https:\/\/functiontranslator.com\/2021\/02\/12\/textjoin\/"},"modified":"2021-02-13T11:36:43","modified_gmt":"2021-02-13T11:36:43","slug":"textjoin","status":"publish","type":"post","link":"https:\/\/functiontranslator.com\/en\/textjoin\/","title":{"rendered":"TEXTJOIN"},"content":{"rendered":"<p>The <b>TEXTJOIN<\/b> function in Excel and Google Sheets enables you to concatenate multiple text strings into one. This is particularly useful for aggregating text values from various cells or a range of cells into a single cell.<\/p>\n<h2>Basic Syntax<\/h2>\n<p>The syntax for the <b>TEXTJOIN<\/b> function is consistent across both Excel and Google Sheets:<\/p>\n<pre><code>=TEXTJOIN(delimiter, ignore_empty, text1, [text2], ...)<\/code><\/pre>\n<ul>\n<li><b>delimiter<\/b>: The character or string used as a separator between text items.<\/li>\n<li><b>ignore_empty<\/b>: A boolean value (TRUE or FALSE) that determines whether to exclude empty cells from the concatenation.<\/li>\n<li><b>text1, text2, &#8230;<\/b>: The text items or cell ranges to be concatenated.<\/li>\n<\/ul>\n<h2>Examples<\/h2>\n<h3>Example 1: Joining Text Strings<\/h3>\n<p>Consider the scenario where text values reside in cells A1, A2, and A3 in Excel:<\/p>\n<table>\n<tr>\n<th>A<\/th>\n<th>B<\/th>\n<\/tr>\n<tr>\n<td>Apple<\/td>\n<td>=TEXTJOIN(&#8220;, &#8220;, TRUE, A1, A2, A3)<\/td>\n<\/tr>\n<tr>\n<td>Orange<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Banana<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<p>The formula <code>=TEXTJOIN(\", \", TRUE, A1, A2, A3)<\/code> concatenates the values from cells A1, A2, and A3 using a comma and a space as the delimiter. This will output &#8220;Apple, Orange, Banana&#8221; into cell B1.<\/p>\n<h3>Example 2: Joining Text Strings with Ignore Empty Cells<\/h3>\n<p>If you prefer to exclude empty cells while concatenating text, set the <b>ignore_empty<\/b> argument to TRUE. Consider this example:<\/p>\n<table>\n<tr>\n<th>A<\/th>\n<th>B<\/th>\n<\/tr>\n<tr>\n<td>Apple<\/td>\n<td>=TEXTJOIN(&#8220;, &#8220;, TRUE, A1, &#8220;&#8221;, A3)<\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Banana<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<p>In this scenario, the formula <code>=TEXTJOIN(\", \", TRUE, A1, \"\", A3)<\/code> considers only the non-empty cells (A1 and A3), resulting in &#8220;Apple, Banana&#8221; displayed in cell B1.<\/p>\n<h3>Example 3: Joining Text Strings from a Range<\/h3>\n<p>The <b>TEXTJOIN<\/b> function can also concatenate text values across a cell range. For example, to join text values in cells A1 to A5, separated by a line break, you can use:<\/p>\n<table>\n<tr>\n<th>A<\/th>\n<th>B<\/th>\n<\/tr>\n<tr>\n<td>Apple<\/td>\n<td>=TEXTJOIN(CHAR(10), TRUE, A1:A5)<\/td>\n<\/tr>\n<tr>\n<td>Orange<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Banana<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Peach<\/td>\n<td><\/td>\n<\/tr>\n<\/table>\n<p>The formula <code>=TEXTJOIN(CHAR(10), TRUE, A1:A5)<\/code> concatenates the values from A1 to A5, using a line break as the delimiter, resulting in the respective values appearing in cell B1 separated by line breaks.<\/p>\n<p>These examples showcase the flexibility and utility of the <b>TEXTJOIN<\/b> function in Excel and Google Sheets for merging text strings in a variety of contexts based on specific needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Combines the text from multiple ranges and\/or strings, and includes a delimiter you specify between each text value that will be combined If the delimiter is an empty text string, this function will effectively concatenate the ranges<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[202],"tags":[],"class_list":["post-453","post","type-post","status-publish","format-standard","hentry","category-text"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax<\/title>\n<meta name=\"description\" content=\"Learn what the Excel TEXTJOIN function does. Clear syntax explanation and useful formula examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/functiontranslator.com\/en\/textjoin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax\" \/>\n<meta property=\"og:description\" content=\"Learn what the Excel TEXTJOIN function does. Clear syntax explanation and useful formula examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/functiontranslator.com\/en\/textjoin\/\" \/>\n<meta property=\"og:site_name\" content=\"Function Translator\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-15T13:34:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-02-13T11:36:43+00:00\" \/>\n<meta name=\"author\" content=\"glavadmin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"glavadmin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/functiontranslator.com\/en\/textjoin\/\",\"url\":\"https:\/\/functiontranslator.com\/en\/textjoin\/\",\"name\":\"Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax\",\"isPartOf\":{\"@id\":\"https:\/\/functiontranslator.com\/no\/#website\"},\"datePublished\":\"2025-07-15T13:34:46+00:00\",\"dateModified\":\"2021-02-13T11:36:43+00:00\",\"author\":{\"@id\":\"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389\"},\"description\":\"Learn what the Excel TEXTJOIN function does. Clear syntax explanation and useful formula examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/functiontranslator.com\/en\/textjoin\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/functiontranslator.com\/en\/textjoin\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/functiontranslator.com\/en\/textjoin\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Function Excel\",\"item\":\"https:\/\/functiontranslator.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Text\",\"item\":\"https:\/\/functiontranslator.com\/en\/text\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"TEXTJOIN\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/functiontranslator.com\/no\/#website\",\"url\":\"https:\/\/functiontranslator.com\/no\/\",\"name\":\"Function Translator\",\"description\":\"Excel function translator\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/functiontranslator.com\/no\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389\",\"name\":\"glavadmin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g\",\"caption\":\"glavadmin\"},\"sameAs\":[\"https:\/\/functiontranslator.com\"],\"url\":\"https:\/\/functiontranslator.com\/en\/author\/glavadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax","description":"Learn what the Excel TEXTJOIN function does. Clear syntax explanation and useful formula examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/functiontranslator.com\/en\/textjoin\/","og_locale":"en_US","og_type":"article","og_title":"Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax","og_description":"Learn what the Excel TEXTJOIN function does. Clear syntax explanation and useful formula examples.","og_url":"https:\/\/functiontranslator.com\/en\/textjoin\/","og_site_name":"Function Translator","article_published_time":"2025-07-15T13:34:46+00:00","article_modified_time":"2021-02-13T11:36:43+00:00","author":"glavadmin","twitter_card":"summary_large_image","twitter_title":"Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax","twitter_misc":{"Written by":"glavadmin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/functiontranslator.com\/en\/textjoin\/","url":"https:\/\/functiontranslator.com\/en\/textjoin\/","name":"Excel TEXTJOIN Function \u2013 How It Works, Formula Examples and Syntax","isPartOf":{"@id":"https:\/\/functiontranslator.com\/no\/#website"},"datePublished":"2025-07-15T13:34:46+00:00","dateModified":"2021-02-13T11:36:43+00:00","author":{"@id":"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389"},"description":"Learn what the Excel TEXTJOIN function does. Clear syntax explanation and useful formula examples.","breadcrumb":{"@id":"https:\/\/functiontranslator.com\/en\/textjoin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/functiontranslator.com\/en\/textjoin\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/functiontranslator.com\/en\/textjoin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Function Excel","item":"https:\/\/functiontranslator.com\/en\/"},{"@type":"ListItem","position":2,"name":"Text","item":"https:\/\/functiontranslator.com\/en\/text\/"},{"@type":"ListItem","position":3,"name":"TEXTJOIN"}]},{"@type":"WebSite","@id":"https:\/\/functiontranslator.com\/no\/#website","url":"https:\/\/functiontranslator.com\/no\/","name":"Function Translator","description":"Excel function translator","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/functiontranslator.com\/no\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/87663eece497ca58643166ecb09f1389","name":"glavadmin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/functiontranslator.com\/no\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/03ccd9347c5339db75deede5a8c5b2bf1d40e0bce26a5251fcaac6331d381db8?s=96&d=mm&r=g","caption":"glavadmin"},"sameAs":["https:\/\/functiontranslator.com"],"url":"https:\/\/functiontranslator.com\/en\/author\/glavadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts\/453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/comments?post=453"}],"version-history":[{"count":3,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts\/453\/revisions"}],"predecessor-version":[{"id":3344,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/posts\/453\/revisions\/3344"}],"wp:attachment":[{"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/media?parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/categories?post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/functiontranslator.com\/en\/wp-json\/wp\/v2\/tags?post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}