In one column I have unique numerical IDs which could be duplicated up to three times. In another column I have the inputs "Yes" and "No" which correspond randomly to these IDs.
In a third column I would like to return an affirmative output for the first instance of "Yes" for each unique ID code.
For instance:
Column A
23
23
23
4
4
6
Column B
No
No
Yes
Yes
Yes
No
Desired Column C
0
0
1
1
0
0
Bookmarks