| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/scalc/01/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>TEXTJOIN function</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="textjoin01"></a>
<a name="bm_id681556227727944"></a>
<a name="bm_id581556228060864"></a>
<meta itemprop="keywords" content="TEXTJOIN function">
<h1 id="hd_id551556227727946" dir="auto">
<a name="textjoinfunct"></a>TEXTJOIN</h1>
<p id="par_id121556227727948" class="paragraph" dir="auto"><a name="textjoinfunction"></a><span class="avis">Concatenates one or more strings, and uses delimiters between them.</span></p>
<div class="embedded">
<a name="func_head_syntax"></a>
<h3 id="hd_id126511265112651" dir="auto">Syntax</h3>
</div>
<p id="par_id541556228253979" class="code" dir="auto">TEXTJOIN( delimiter, skip_empty, String 1[; String 2][; … ;[String 253]] )</p>
<p id="par_id741556228390897" class="paragraph" dir="auto"><span class="emph">delimiter</span> is a text string and can be a range.</p>
<p id="par_id621556228397269" class="paragraph" dir="auto"><span class="emph">skip_empty</span> is a logical argument. When set to FALSE or 0, empty strings will be taken into account and this may lead to adjacent delimiters in the returned string. When set to any other value (e.g. TRUE or 1), empty strings will be ignored.</p>
<p id="par_id631556228516997" class="paragraph" dir="auto"><span class="emph">String 1[; String 2][; … ;[String 253]]</span> are strings, references to cells or to cell ranges of strings.</p>
<p id="par_id1001556228523394" class="paragraph" dir="auto">Ranges are traversed row by row (from top to bottom).</p>
<p id="par_id81556228530082" class="paragraph" dir="auto">If <span class="emph">delimiter</span> is a range, the range need not be of the same size as the number of strings to be joined.</p>
<p id="par_id831556228543099" class="paragraph" dir="auto">If there are more delimiters than strings to be joined, not all delimiters will be used.</p>
<p id="par_id321556228557611" class="paragraph" dir="auto">If there are less delimiters than strings to be joined, the delimiters will be used again from the start.</p>
<div class="embedded">
<a name="func_head_example"></a>
<h3 id="hd_id980889808898088" dir="auto">Examples</h3>
</div>
<p id="par_id441556229012536" class="paragraph" dir="auto"><span class="input" data-tooltip="Click on text to copy to clipboard">=TEXTJOIN(" "; 1; "Here"; "comes"; "the"; "sun")</span> returns "Here comes the sun" with space character as delimiter and empty strings are ignored.</p>
<p id="par_id441556239012536" class="paragraph" dir="auto">if A1:B2 contains "Here", "comes", "the", "sun" respectively, <span class="input" data-tooltip="Click on text to copy to clipboard">=TEXTJOIN("-";1;A1:B2)</span> returns "Here-comes-the-sun" with dash character as delimiter and empty strings are ignored.</p>
<div class="embedded">
<a name="sectiontechinfo"></a>
<h4 id="hd_id301640873452726" dir="auto">Technical information</h4>
</div>
<div class="embedded">
<a name="5.2"></a>
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id651551401041652" dir="auto">This function is available since LibreOffice 5.2.</p></div>
</div>
<br>
</div>
<div class="embedded">
<a name="notODFF"></a>
<p id="par_id251640873774457" class="paragraph" dir="auto">This function is not part of the <span class="emph">Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format</span> standard. The name space is</p>
</div>
<p id="par_id341640873986703" class="paragraph" dir="auto"><span class="literal">COM.MICROSOFT.TEXTJOIN</span></p>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<div class="tip">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/tip.svg" alt="tip" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id761677014445916" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Documentation/Calc_Functions/TEXTJOIN">TEXTJOIN wiki page</a>.</p></div>
</div>
<br>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/scalc/01/func_concat.html">CONCAT</a></p></div>
<p id="par_id781556244709752" class="paragraph" dir="auto"><a target="_top" href="en-US/text/scalc/01/04060110.html#concatenate">CONCATENATE</a></p>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/scalc/01/func_textjoin.xhp" target="_blank">/text/scalc/01/func_textjoin.xhp</a></p>
<p dir="auto">Title is: TEXTJOIN function</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>