Hello,
How would I calculate the value of colB[row2]-colB[row1] for a group of records/rows in Excel but only within that group of records? In other words, if a value in A changes, don't do the calculation between the first row of the new value and the last value of the previous value in A.
Ex:
ssn
1111111 89
1111111 98 9
1111111 55 -43
2222222 9
2222222 52 43
2222222 17 -35
2222222 33 16
2222222 10 -23
4444444 22
4444444 11 -11
Thanks for any help!
How would I calculate the value of colB[row2]-colB[row1] for a group of records/rows in Excel but only within that group of records? In other words, if a value in A changes, don't do the calculation between the first row of the new value and the last value of the previous value in A.
Ex:
ssn
1111111 89
1111111 98 9
1111111 55 -43
2222222 9
2222222 52 43
2222222 17 -35
2222222 33 16
2222222 10 -23
4444444 22
4444444 11 -11
Thanks for any help!