Dear Stata experts,
I have a question regarding a subtracting. My data looks like this:
A . B . C
x | x
x | x
x | x
x | x
x | x
x | 4
x | x
5 | x
x | x
x | 2
x | x
3 | x
x | 1
x | x
2 | x
I need to get C = A-B but the 'x" are empty cells.
I need: 5-4 = 1, 3-2=1 & 2-1=1 in the C column
Thanks in advance,
Jeff
I have a question regarding a subtracting. My data looks like this:
A . B . C
x | x
x | x
x | x
x | x
x | x
x | 4
x | x
5 | x
x | x
x | 2
x | x
3 | x
x | 1
x | x
2 | x
I need to get C = A-B but the 'x" are empty cells.
I need: 5-4 = 1, 3-2=1 & 2-1=1 in the C column
Thanks in advance,
Jeff
Comment