fix: корректировка формулы суммы (итого)
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user