
October 31st, 2012, 10:57 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 38 m 2 sec
Reputation Power: 0
|
|
|
When exists
I have the following data:
A B
1 1
2 2
2 .
3 .
I want a third row that gives the value 1 when A does not exists in the whole column B:
A B output
1 1 0
2 2 0
2 . 0 (because the value of ID1 does exist in ID2)
3 . 1 (because the value of ID1 doesn't exist in ID2)
Last edited by DaanOoms : October 31st, 2012 at 11:00 AM.
Reason: Unclear representation
|