diff --git a/Classes/PHPExcel/Calculation.php b/Classes/PHPExcel/Calculation.php index 8debb32..791cad7 100644 --- a/Classes/PHPExcel/Calculation.php +++ b/Classes/PHPExcel/Calculation.php @@ -3222,7 +3222,7 @@ class PHPExcel_Calculation { } } else { // echo 'Reference is a single Cell
'; - if ($pCell !== NULL) { + if ($pCell === NULL) { // We can't access the cell, so return a REF error $cellValue = PHPExcel_Calculation_Functions::REF(); } else {