I have a dataset of 4 columns with hundreds of rows, here's a little sample:
A B C D
V1 V2 V100 V4
V15 V5 V6 V100
V8 V3 V9 V10
V3 V11 V12 V13
I would like to get a list of variables that are in column A but not in the others (like V1 in the above example), then another list of variables that are in column C and D but not in others (Like V100 in the example) and so on. Any simple command that can do this without having to go into complicated for loops?
Important note: the names I have are way too much complicated (AND THEY CONTAIN BRACKETS, SLASHES, BACKSLASHES AND UNDESCORES) this is just a simple representation of what I have.
Thanks,