1
0
Fork 0

Spreadsheet getCol toUpperCase() fix.

main
selim 2023-12-31 14:59:52 +01:00
parent 69c01f6bec
commit 79b6a0316b
3 changed files with 7 additions and 8 deletions

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />

View File

@ -1,9 +1,9 @@
=MITTELWERT(B1:C10),=10,=234,,,,,,,
,,,,,,,,,
,,,,,,,,,
,,,,,,,,,
,,,,,,,,,
,,,,,,,,,
,,=SUMME(A1.B10),,,,,,,
,,=PRODUKT(A1.B10),,,,,,,
,,=MITTELWERT(A1.B10),,,,,,,
,,=STABW(A1.B10),,,,,,,
,,=MIN(A1.B10),,,,,,,
,,=MAX(A1.B10),,,,,,,
,,,,,,,,,
,,,,,,,,,
,,,,,,,,,

1 =234 =SUMME(A1.B10) =MITTELWERT(B1:C10) =10
2 =PRODUKT(A1.B10)
3 =MITTELWERT(A1.B10)
4 =STABW(A1.B10)
5 =MIN(A1.B10)
6 =MAX(A1.B10)
7
8
9

View File

@ -74,7 +74,7 @@ public class Spreadsheet {
}
private int getCol(String cellName) {
return cellName.charAt(0) - 'A' + 1;
return cellName.toUpperCase().charAt(0) - 'A' + 1;
}
private int getRow(String cellName) {