<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 - [1] #VALUE Errors in IFS and SWITCH functions"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=137135">137135</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[1] #VALUE Errors in IFS and SWITCH functions
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.1.2 release
          </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>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>vincent.glachant@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Hi,

The Result of both IFS and SWITCH functions are #VALUE error for the second
result when the first result is an #VALUE error, even if the second result is
good and is the one that should be shown.

Steps to Reproduce:
1.Enter in a case:
2.=SWITCH(2;1;YEAR("");2;YEAR(41244);)
3.=SWITCH(2;1;IFS("tset";1);2;YEAR(41244))

Actual Results:
#VALUE

Expected Results:
2012 which is the RESULT of YEAR(41244)


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.1.2 (x86)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 2; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default;
VCL: win
Locale: fr-FR (fr_FR); Langue IHM : fr-FR
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>