@@ 3490-3494 (lines=5) @@ | ||
3487 | $oRow[] = $oCR[1]; |
|
3488 | } |
|
3489 | $cellRef = Cell::stringFromColumnIndex(min($oCol)) . min($oRow) . ':' . Cell::stringFromColumnIndex(max($oCol)) . max($oRow); |
|
3490 | if ($pCellParent !== null) { |
|
3491 | $cellValue = $this->extractCellRange($cellRef, $this->spreadsheet->getSheetByName($sheet1), false); |
|
3492 | } else { |
|
3493 | return $this->raiseFormulaError('Unable to access Cell Reference'); |
|
3494 | } |
|
3495 | $stack->push('Cell Reference', $cellValue, $cellRef); |
|
3496 | } else { |
|
3497 | $stack->push('Error', Calculation\Functions::REF(), null); |
|
@@ 3604-3608 (lines=5) @@ | ||
3601 | } |
|
3602 | $matches[2] = trim($matches[2], "\"'"); |
|
3603 | $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in worksheet ', $matches[2]); |
|
3604 | if ($pCellParent !== null) { |
|
3605 | $cellValue = $this->extractCellRange($cellRef, $this->spreadsheet->getSheetByName($matches[2]), false); |
|
3606 | } else { |
|
3607 | return $this->raiseFormulaError('Unable to access Cell Reference'); |
|
3608 | } |
|
3609 | $this->_debugLog->writeDebugLog('Evaluation Result for cells ', $cellRef, ' in worksheet ', $matches[2], ' is ', $this->showTypeDetails($cellValue)); |
|
3610 | } else { |
|
3611 | $this->_debugLog->writeDebugLog('Evaluating Cell Range ', $cellRef, ' in current worksheet'); |