title: phpoffice/phpspreadsheet - How to exclude no value cells from getHighestRow()
body: <pre><code>$eanStyle = new \PHPExcel_Style();
  $eanStyle-&gt;getNumberFormat()-&gt;applyFromArray([
      'code' =&gt; '0000000000000'
  ]);
  
  /* apply styles */
  $mainSheet-&gt;duplicateStyle($eanStyle, 'A2:A10000');
  </code></pre>
  
  <p>Code above generates <code>.xlsx</code> template file, user enters data (7 rows) and upload file and then:</p>
  
  <pre><code>$mainSheet-&gt;getHighestRow('A'); //  retruns 10000 instead of 8 (7 rows + header)
  </code></pre>
  
  <p>Thanks in advance for help.</p>