Archived
0

fix: корректировка формулы суммы (итого)

This commit is contained in:
2018-06-07 15:07:10 +03:00
parent 0f0275c689
commit c901e1627a

View File

@@ -65,7 +65,7 @@ public class Corrector1S {
private String buildSumFormula(int column, int startLine, int endLine) { private String buildSumFormula(int column, int startLine, int endLine) {
String columnChar = CellReference.convertNumToColString(column); String columnChar = CellReference.convertNumToColString(column);
return String.format("SUM(%s%d:%s%d)", columnChar, startLine, columnChar, endLine); return String.format("SUM(%s%d:%s%d)", columnChar, startLine+1, columnChar, endLine+1);
} }
public void check() throws Exception { public void check() throws Exception {