<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - TEXTJOIN delimiters not synchronized if ignore_empty"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133379">133379</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TEXTJOIN delimiters not synchronized if ignore_empty
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.3.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>joshua_coppersmith@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When using TEXTJOIN with a constant array for the delimiters and ignore_empty
is set true the delimiter picked from the constant array is not advanced when
an empty cell/field is encountered which desynchronizes the multiple delimiters
from their obviously intended purpose to represent data hierarchy (to
distinguish fields and fields from records).

Steps to Reproduce:
Enter TEXTJOIN like =TEXTJOIN({",",",",";"},1,F9:H11) either as part of a
CSE/array formula or just a normal cell formula.

Actual Results:
With range fully populate behaviour is as expected, like

1       a       A
2       b       B
3       c       C

TextJoin:       1,a,A;2,b,B;3,c,C       

With any empty cell, the delimiters blindly repeat in cycle and become
meaningless, like:

1               A
2       b       B
3       c       C

TextJoin:       1,A,2;b,B,3;c,C 

Expected Results:
The expected result would be:

1               A
2       b       B
3       c       C

TextJoin:       1,A;2,b,B;3,c,C 


Reproducible: Always


User Profile Reset: No



Additional Info:
I do not have access to MS Excel 2019, but
<a href="https://support.office.com/en-us/article/TEXTJOIN-function">https://support.office.com/en-us/article/TEXTJOIN-function</a> implies that
TEXTJOIN is meant to be able to distinguish data fields from data records, etc.

Version: 6.4.3.2
Build ID: 747b5d0ebf89f41c860ec2a39efd7cb15b54f2d8
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>