<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Calc IF function executes false condition even though true should have been"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121078">bug 121078</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>NOTABUG
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>UNCONFIRMED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Calc IF function executes false condition even though true should have been"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121078#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - Calc IF function executes false condition even though true should have been"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121078">bug 121078</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>1. The original description was wrong when described the column C: it should
say that a formula like "=IF(A1="";"";SUM(A1;B1))" is used there.
2. There is no bug in Calc; rather, there's an error in the formula in D, where
the result of "IF(C1="","",SUM(C2-C1)/C1)" is unconditionally multiplied by
100. In case of cells with empty neighbors, this results in ""*100, which is
naturally wrong, which is reported as #VALUE!.

The proper formula is "=IF(C2="";"";SUM(C2-C1)/C1*100)"

Closing NOTABUG.</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>