diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:47:37 +0000 |
commit | 00e2eb4fd0266c5be01e3a527a66aaad5ab4b634 (patch) | |
tree | a6a58bd544eb0b76b9d3acc678ea88791acca045 /test/04-function-count.txt | |
parent | Initial commit. (diff) | |
download | libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.tar.xz libixion-00e2eb4fd0266c5be01e3a527a66aaad5ab4b634.zip |
Adding upstream version 0.19.0.upstream/0.19.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/04-function-count.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/test/04-function-count.txt b/test/04-function-count.txt new file mode 100644 index 0000000..0b14e3b --- /dev/null +++ b/test/04-function-count.txt @@ -0,0 +1,35 @@ +%% Test for COUNT function. COUNT only counts numeric cells whereas COUNTA +%% also counts string cells. +%mode init +A1:1 +A2:2 +A3:3 +B1@A +B2@B +B3@C +C1:true +C2:false +C3:false +D1=COUNT(A1:A3) +D2=COUNT(A1:A4) +D3=COUNT(A1:B3) +D4=COUNT(A1:C3) +D5=COUNT(A1:C1) +D6=COUNT(A100:A120) +D7=COUNT(A:A) +D8=COUNT(1,2,3,4) +D9=COUNT(1,"str",3) +D10=COUNT() +%calc +%mode result +D1=3 +D2=3 +D3=3 +D4=6 +D5=2 +D6=0 +D7=3 +D8=4 +D9=2 +D10=0 +%check |