diff --git a/Classes/PHPExcel/Cell.php b/Classes/PHPExcel/Cell.php index 2cafff3..73495d5 100644 --- a/Classes/PHPExcel/Cell.php +++ b/Classes/PHPExcel/Cell.php @@ -370,6 +370,16 @@ class PHPExcel_Cell return $this->notifyCacheController(); } + /** + * Identify if the cell contains a formula + * + * @return boolean + */ + public function isFormula() + { + return $this->_dataType == PHPExcel_Cell_DataType::TYPE_FORMULA + } + /** * Does this cell contain Data validation rules? *