You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first, let me thanks for this project, I have been searching for something equivalent in .net and have given up so I am coding in Java with yours, it's easy to use and efficient.
I am running into a strange problem.
If I define a formula that does a very simple sum with data from the same sheet, it works properly.
If I define exactly the same formula but taking the data from another sheet, it just does not compute the result.
Sheet sheet = spread.getSheet("Operations"); Range range = sheet.getRange("C2"); range.setValue(13.42); sheet.getRange("C3").setValue(42.65); sheet.getRange("E3").setFormula("SUM(C:C)"); // works fine spread.getSheet("Calculs").getRange("B1").setFormula("SUM(Operations!C:C)"); // the sum is not computed
here is the formula in the generated file : =SUM(operations C:C) instead of =SUM(operations!C:C)
note the missing !
I have tried different ways to write it, the result is always the same : the result is not computed. I can still open the file and rewrite the ! and it will do the job, but I need automation.
Am I doing something wrong ?
Thank you
The text was updated successfully, but these errors were encountered:
It seems like a legit error. Not sure why it's removing the (!). It must be something related to the XML file. But it should not happen since (!) is a valid character.
Hello
first, let me thanks for this project, I have been searching for something equivalent in .net and have given up so I am coding in Java with yours, it's easy to use and efficient.
I am running into a strange problem.
If I define a formula that does a very simple sum with data from the same sheet, it works properly.
If I define exactly the same formula but taking the data from another sheet, it just does not compute the result.
Sheet sheet = spread.getSheet("Operations"); Range range = sheet.getRange("C2"); range.setValue(13.42); sheet.getRange("C3").setValue(42.65); sheet.getRange("E3").setFormula("SUM(C:C)"); // works fine spread.getSheet("Calculs").getRange("B1").setFormula("SUM(Operations!C:C)"); // the sum is not computed
here is the formula in the generated file :
=SUM(operations C:C)
instead of=SUM(operations!C:C)
note the missing !
I have tried different ways to write it, the result is always the same : the result is not computed. I can still open the file and rewrite the ! and it will do the job, but I need automation.
Am I doing something wrong ?
Thank you
The text was updated successfully, but these errors were encountered: