I try to insert a formula =IF(D2="";"";COUNTIF(D:D;D2)) in an Excel worksheet.
Here is the code I'm trying:
$WorkSheet->Cells($Row2Use,'L')->{Formula} = "=IF(D".$Row2Use."=\"\",\"\",COUNTIF(D:D,D".$Row2Use.")"; # =IF(D2="";"";COUNTIF(D:D;D2))
I also tried using {Value} instead of {Formula} without success!
What did I wrong