I want to calculate the sum of a column but only if the value of another column on that row has a certain value:
---------
| A | 1 |
| A | 2 |
| B | 5 |
---------
This should yield: A=3 and B=5.
After some attempts, I copied the following from their website
=SUM((C3:C5="red")*(B3:B5="big")*D3:D5)
Which doesn't work: whatever I try, I always seem to get #VALUE!
... Any workarounds to accomplish this?
This is LibreOffice: 4.4.2.2. + I've checked the formatting of the cells.