From a05ebf6f45a20745be67323b03fb1b4d74a2ba60 Mon Sep 17 00:00:00 2001 From: GoshaZotov Date: Tue, 11 Feb 2025 17:14:15 +0300 Subject: [PATCH] [se] Fix bug 73182 --- cell/model/FormulaObjects/parserFormula.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/cell/model/FormulaObjects/parserFormula.js b/cell/model/FormulaObjects/parserFormula.js index 563d9dfc6a..99131a326e 100644 --- a/cell/model/FormulaObjects/parserFormula.js +++ b/cell/model/FormulaObjects/parserFormula.js @@ -6401,9 +6401,11 @@ function parserFormula( formula, parent, _ws ) { if (this._isConditionalFormula(sFunctionName) && data.areaData && g_cCalcRecursion.getIsCellEdited()) { let oCell = null; - this.ws._getCell(this.parent.nRow, this.parent.nCol, function (oElem) { - oCell = oElem; - }); + if (this.parent && null != this.parent.nRow && null != this.parent.nCol) { + this.ws._getCell(this.parent.nRow, this.parent.nCol, function (oElem) { + oCell = oElem; + }); + } if (oCell && oCell.containInFormula()) { this.ca = this.isRecursiveCondFormula(sFunctionName); }