<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 - FILESAVE XLSX Paste special of #N/A formula result result gives in Err:520 in Calc after reload"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=131372">131372</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>FILESAVE XLSX Paste special of #N/A formula result result gives in Err:520 in Calc after reload
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.0 all versions
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>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>libreoffice@nisz.hu
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
If a formula gives #N/A result – because of missing data – and this result is
copied and pasted using Paste Special, then saved as XLSX the reloaded file
gives Err:520, while Excel gives #N/A.

Steps to Reproduce:
1. Open attached file. It contains a simple MATCH formula in B2:B3 that refers
to the second sheet. The function in B3 gives #N/A since it does not find a
match on the second sheet.
2. The contents of B2:B3 were copied and pasted as text in Excel to B5:B6. The
result in B6 is imported fine as in Calc. User intent was to get the formula
results as plain text.
3. Copy the B2:B3 cells contents (in the example B8:B9) and insert it using
Paste Special, with default settings (Selection: Text, Numbers, Date&Time).
4. Save the file as XLSX and reload.

Actual Results:
In Calc the B9 cells content appears as Err:520, while in Excel it appears as
#N/A

Expected Results:
B9 cell should show #N/A too


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.0.0.alpha0+ (x64)
Build ID: cf96cb11e2a46c452a273ded1c66c556118983cf
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win; 
Locale: hu-HU (hu_HU); UI-Language: en-US
Calc: CL

Started to happen in:
Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: hu_HU</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>