Hello,
I am trying to perform a SUM operation for specific rows based on a column value. Below is the illustration.
| Column1 | Column2 | Formula used | Alteryx Formula Used |
| ID1 | 10 | | |
| ID2 | 20 | | |
| ID3 | 30 | ID1 + ID2 | Row -1 + Row -2 |
| ID4 | 40 | | |
| ID5 | 50 | | |
| ID6 | 60 | | |
| ID7 | 150 | ID5 + ID6 + ID7 | Row-1+Row-2+Row-3 |
| ID8 | 80 | | |
| ID9 | 90 | | |
| ID10 | 190 | ID3 + ID7 | |
| ID11 | 110 | | |
| ID12 | 120 | | |
| ID13 | 530 | ID1 + ID2 + ID5 + ID7 + ID10 + ID11 | Row-12+Row11+Row-8+Row-6+Row-3+Row-2 |
| ID14 | 140 | | |
| ID15 | 150 | | |
Currently, I am using Multi-Row Formula tool. But, I don't find this an efficient way of doing a summation, as I have to count the rows and mention as Row-NUMBER.
Is there any way that, I can actually perform a SUM like, IF Column1=ID13 THEN SUM_(ID1 + ID2 + ID5 + ID7 + ID10 + ID11)
Looking for easy and better ways of performing this operation.
Thanks in advance 