Skip to content

Commit

Permalink
fix(formula): plus gets error when cell has error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dushusir committed Jan 30, 2024
1 parent 02886cc commit 1174045
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,8 @@ export class ArrayValueObject extends BaseValueObject {
if (currentValue.isError()) {
result[r][column] = currentValue as ErrorValueObject;
} else if (valueObject.isError()) {
result[r][column] = new ErrorValueObject(ErrorType.VALUE);
// 1 + #NAME? gets #NAME?
result[r][column] = valueObject;
} else {
switch (batchOperatorType) {
case BatchOperatorType.PLUS:
Expand Down

0 comments on commit 1174045

Please sign in to comment.