bengbengbalabalabeng commented on code in PR #979:
URL: https://github.com/apache/fesod/pull/979#discussion_r3736688766
##########
website/docs/sheet/write/extra.md:
##########
@@ -138,12 +161,14 @@ public class WriteCellDemoData {
public void writeFormulaDataWrite() {
String fileName = "writeCellDataWrite" + System.currentTimeMillis() +
".xlsx";
WriteCellDemoData data = new WriteCellDemoData();
+ data.setNum1(10);
+ data.setNum2(20);
// Set formula
WriteCellData<String> cellData = new WriteCellData<>();
FormulaData formulaData = new FormulaData();
- formulaData.setFormulaValue("SUM(A1:A10)");
+ formulaData.setFormulaValue("SUM(A2:B2)");
// Or
- // formulaData.setFormulaValue("=SUM(A1:A10)");
+ // formulaData.setFormulaValue("=SUM(A1:B2)");
Review Comment:
Please fix this formula: `=SUM(A1:B2)` -> `=SUM(A2:B2)`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]