I am trying to use a multi-row formula tool here to give me a difference column which will take sum of values for those line items which have the same description and Name. I am having a hard time coming up with the correct formula. I appreciate any help you can offer.
| RecordID | Description | Name | Value | Difference |
| 2 | ABC | Cost | -1000 | |
| 3 | ABC | Cost | 1250 | 250 |
| 2 | ABC | Int | -1550 | |
| 3 | ABC | Int | 870 | -680 |
I have tried the following formula and it only gives me the value and not adding the 2 lines together.
ToNumber(If [Derivative]=[Row+1:Derivative]
AND [Name]=[Row+1:Name]
THEN ([Value]+[Row+1:Value])
ELSE NULL() ENDIF)
Thank you!