Hi,
Can anyone help how to write this on alteryx
=SUMIFS($B$1:$B$2,$A$1:$A$2,B3,$C$1:$C$2,"<>-")

Test data
| Order Number | Accounting colour amount | Booking flag |
| 2561895 | -218,599 | Closed |
| 2561895 | 218,599 | Closed |
| 2571480 | -7,627,360 | Closed |
| 2571480 | 0 | Closed |
| 2571480 | 7,627,360 | Closed |
| 2571480 | 0 | Closed |
| 2583986 | -152,859 | Closed |
| 2583986 | 0 | Closed |
| 2583986 | -13,500 | Closed |