Commit c75e9f3
committed
[FIX] functions: ignore vectorized SUBTOTAL
SUBTOTAL should ignore SUBTOTAL values from a spilled formula
A1: "1"
A2: "1"
A3: "=SUBTOTAL(9, A1:A2) + A1:A2"
A5: "=SUBTOTAL(9, A4)"
=> A5 should be zero because the value in A4 comes from a SUBTOTAL
formula and it should be ignored
closes #7503
Task: 5261987
X-original-commit: c23e492
Signed-off-by: Rémi Rahir (rar) <rar@odoo.com>
Signed-off-by: Lucas Lefèvre (lul) <lul@odoo.com>1 parent 06263d9 commit c75e9f3
File tree
2 files changed
+13
-1
lines changed- packages/o-spreadsheet-engine/src/functions
- tests/functions
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | | - | |
| 1412 | + | |
1413 | 1413 | | |
1414 | 1414 | | |
1415 | 1415 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3129 | 3129 | | |
3130 | 3130 | | |
3131 | 3131 | | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
| 3138 | + | |
| 3139 | + | |
| 3140 | + | |
| 3141 | + | |
| 3142 | + | |
| 3143 | + | |
3132 | 3144 | | |
3133 | 3145 | | |
3134 | 3146 | | |
| |||
0 commit comments