Please provide us your source XLS/XLSX file having this formula in working form. Also, please provide us your sample source code that, you are using, to replicate this issue. We will look into it and assist you further.
=SUM(‘Aankoopdienst:Sociaal Departement Social’!B7)
When saving the Excel sheet to a Spreadsheet XML, I can see that the rendered formula is:
(the R[-1]C is because we are entering this formula in B8, so B7 is one row up from there).
However, when I try to enter either one of those two formulas (with the B7 or R[-1]C notation) in the Formula property of my Cell in Aspose, I get a CellsException with the message:
Error in Cell: B7-Invalid formula:"=SUM(‘Aankoopdienst:Sociaal Departement Social’!B7)".
or
Error in Cell: C7-Invalid formula:"=SUM(‘Aankoopdienst:Sociaal Departement Social’!R[-1]C)".
Can you tell me how to get Aspose.Cells to use this formula correctly?