I have a master dataset looks like
A1 B1 V1
1100 10129 45
NA 1012 65
NA 101 47
NA 10132 36
1101 10133 425
36475 NA 74
54757 NA 85
1102 10136 NA
Here the secondary table where I need to update V2 column from V1 using two primary ids (A1 and B1)
A2 B2 V2
1100 10129
NA 1012
NA 10132
36475 NA
54757 NA
1102 10136
Excpected output:
A2 B2 V2
1100 10129 45
NA 1012 65
NA 10132 36
36475 NA 74
54757 NA 85
1102 10136 NA
kindly suggest the code to met the criteria
Thanks in advance