Hi,
Using the Aspose.Cells version 24.10.0 on this test Excel workbook:
TestCase13.zip (11.7 KB)
I have a formula in Output!E11 that looks like this:
=LET(W,Input!$W$4:$W$14,X,Input!$X$4:$X$14,F,Input!$F$4:$F$14,AA,Input!$AA$4:$AA$14,SUM(MAP(W,X,F,AA,LAMBDA(iW,iX,iF,iAA,iW+iX+iF+iAA))))
Excel calculates the cell value as 649954.1 but the following code calculates the value incorrectly as 56449.
var workbook = new Workbook( "TestCase13.xlsx");
Worksheet worksheet = workbook.Worksheets["Output"];
workbook.CalculateFormula();
Cell cell = worksheet.Cells["E11"];
var value = cell.DoubleValue;
if (value != 649954.1)
{
throw new ArgumentException("Output!E11 value should be 649954.1.");
}
Can you please have a look? Thanks very much.