We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf64ac8 commit 6cabd97Copy full SHA for 6cabd97
src/PhpSpreadsheet/Calculation/Calculation.php
@@ -4368,6 +4368,12 @@ private static function dataTestReference(&$operandData)
4368
if (($operandData['reference'] === null) && (is_array($operand))) {
4369
$rKeys = array_keys($operand);
4370
$rowKey = array_shift($rKeys);
4371
+ if (is_array($operand[$rowKey]) === false) {
4372
+ $operandData['value'] = $operand[$rowKey];
4373
+
4374
+ return $operand[$rowKey];
4375
+ }
4376
4377
$cKeys = array_keys(array_keys($operand[$rowKey]));
4378
$colKey = array_shift($cKeys);
4379
if (ctype_upper("$colKey")) {
0 commit comments