in phpexcel problem with floating point, I'm from Russia, we decided to share bits of places, to do so would have been a comma or a point depending on the country 99,667 or 99.667
$sheet->setCellValueByColumnAndRow(
$i + 1,
$key + 5,
'=COUNTIF(' . PHPExcel_Cell::stringFromColumnIndex(
$i - $cntDate
) . ($key + 5) . ':' . PHPExcel_Cell::stringFromColumnIndex($i - 1) . ($key + 5) . ',"<99.667")'
);