title: PHPExcel insert array formula
body: <p>I want to insert this array formula:</p>
  
  <pre><code>{=SUM(IF(FREQUENCY(IF(T9:T977=1,MATCH(U9:U977,U9:U977,0)),ROW(U9:U977)-ROW(U9)+1),1))}
  </code></pre>
  
  <p>but when I'm using: </p>
  
  <pre><code>$sheet-&gt;getCell("C1")-&gt;setValue("{=SUM(IF(FREQUENCY(IF(T9:T977=1,MATCH(U9:U977,U9:U977,0)),ROW(U9:U977)-ROW(U9)+1),1))}");
  </code></pre>
  
  <p>It doesn't work, I've checked the documentation, but still haven't found anything.</p>