I have a dataset where two columns for the most part have values that do not interact; however, occasionally there are two numbers (positive and negative) that will cancel each other out equaling zero. My goal is to find all the sets that cancel each other out (removing both), leaving only the non canceled ones. Here's an example of what I mean:
Record ID A B
1 20
2 (8)
3 (20)
So in this case I'd like to search through all the columns and remove 1 and 3 since 20 + (20) = 0. Since 2 isn't canceled, I would leave it there.