diff --git a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java index 8c8905b..8300eba 100644 --- a/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java +++ b/Axel/src/de/hs_mannheim/informatik/spreadsheet/Spreadsheet.java @@ -73,6 +73,8 @@ public class Spreadsheet { } private int getRow(String cellName) { + if(cellName.length()>2) + return Integer.parseInt(""+cellName.charAt(1)+cellName.charAt(2)) - 1; return cellName.charAt(1) - '1'; }