<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 - return sheet name formula does not work"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127451">127451</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>return sheet name formula does not work
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.0.0.alpha0+ Master
          </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>roberg@iafrica.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
=MID(CELL("Filename",A1),SEARCH("$",CELL("Filename",A1)0,1)+1,1)
returns sheet name in 6.0
but gets error #501 in v6.4

Steps to Reproduce:
1. type =MID(CELL("Filename",A1),SEARCH("$",CELL("Filename",A1)0,1)+1,1) in
cell A1
2. 
3.

Actual Results:
returns Err:501

Expected Results:
should return Sheet1


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-GB
Module: SpreadsheetDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Version: 6.4.0.0.alpha0+
Build ID: 27c886f5aa8e53b22caf0ef9d721f60e77cd65f2
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time:
2019-09-06_05:15:30
Locale: en-ZA (en_ZA.UTF-8); UI-Language: en-GB
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>