How to use sumproduct in Apple Numbers
Hi Apple Numbers Community,
I'm fairly new to Apple Numbers, trying to move from Google Sheets to Numbers if I can do what I want.
I like the fact that we can have multiple tables in 1 sheet. That's the main reason why I would switch.
However, I'm trying to play with sumproduct, but I don't manage to make it work.
What I want to achieve is basically sum several values for a given month.
Here's my code in Google Sheets (it works):
IF($A3 <= TODAY() ; SUMPRODUCT((MONTH($A3) = MONTH('other-sheet'!$V$3:$V)) *
(YEAR($A3) = YEAR('other-sheet'!$V$3:$V)) * 'other-sheet'!$AA$3:$AA) ; )
Here's my code in Apple Numbers (it does not work):
IF($A3 ≤ TODAY() ; SUMPRODUCT((MONTH($A3) = MONTH(other-table::$O$3:$O1002)) ×
(YEAR($A3) = YEAR(other-table::$O$3:$O1002)) × other-table::$S$3:$S1002))
Any idea?
MacBook Pro 13", macOS 10.14