<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 - EDITING Calc Auto-Filter does not filter empty cells with a formula when "not empty" is selected"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=142664">142664</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING Calc Auto-Filter does not filter empty cells with a formula when "not empty" is selected
          </td>
        </tr>

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

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

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

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

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

        <tr>
          <th>Severity</th>
          <td>minor
          </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>draskey+bugs@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:

If I enter nothing into a cell, the "not empty" filter hides the row correctly.
If the cell has a formula that assigns "" to the cell, the row remains visible.
Test spreadsheet has entries as:
TestColumnHeading
4
=IF(2=2,"", "never happen")
2

8


Steps to Reproduce:
1. Enter the data from the description in 6 cells of a column
2. Select the cells and auto-filter
3. Select "not empty from the filter drop down

Actual Results:
TestColumnHeading
4

2
8

Expected Results:
TestColumnHeading
4
2
8




Reproducible: Always


User Profile Reset: Yes



Additional Info:
Work around:
Use a standard filter
Cell <>  ...and leave the value field blank
Select OK
Calc with automatically insert a  "0" into the value field
Re-open the Standard Filter dialog
Remove the "0"
Select OK again

Version: 7.1.3.2 (x64) / LibreOffice Community
Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL</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>