I need to replicate - or at least find an alternative solution - for the SUMIFS function that I have in Excel.
I have a transactional database:
SegNbr Index Revenue SUMIF A 1 10 30 A 1 20 30 A 2 30 100 A 2 40 100 B 1 50 110 B 1 60 110 B 3 70 260 B 3 80 260
and I need to create another column that sums the revenue, by Segment number, for all indices that are equal to or less than the Index on this row. This is a distorted moving income, because it will be the same for each SegmentNumber / Index key. This is the formula:
=SUMIFS([Revenue],[SegNbr],[@SegNbr],[Index],"<="&[@Index])
r aggregate-functions sumifs
user3469390
source share