Skip to content

Commit

Permalink
Merge pull request exceljs#1164 from noisyscanner/shared-formula-error
Browse files Browse the repository at this point in the history
Include cell address for Shared Formula master must exist.. error
  • Loading branch information
alubbe authored Mar 29, 2020
2 parents 47fc2ae + e5f609f commit d37e28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xlsx/xform/sheet/cell-xform.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class CellXform extends BaseXform {
} else if (model.sharedFormula) {
const master = options.formulae[model.sharedFormula];
if (!master) {
throw new Error('Shared Formula master must exist above and or left of clone');
throw new Error(`Shared Formula master must exist above and or left of clone for cell ${model.address}`);
}
if (master.si === undefined) {
master.shareType = 'shared';
Expand Down

0 comments on commit d37e28b

Please sign in to comment.