I'm looking for a function to populate column 'Hold1'.
If a value in Ref2 is present in Ref1, then populate Hold1 with the corresponding value in Hold2
<tbody>
</tbody>
The completed table will look like this:
<tbody>
</tbody>
If a value in Ref2 is present in Ref1, then populate Hold1 with the corresponding value in Hold2
Ref1 | Hold1 | Ref2 | Hold2 | |
15 | 5 | 35 | ||
21 | 23 | 2 | ||
58 | 56 | 16 | ||
23 | 15 | 9 | ||
2 | 87 | 25 | ||
10 | 60 | 1 | ||
89 | 65 | 13 | ||
95 | ||||
34 | ||||
65 | ||||
15 | ||||
9 | ||||
22 |
<tbody>
</tbody>
The completed table will look like this:
Ref1 | Hold1 | Ref2 | Hold2 | |
15 | 9 | 5 | 35 | |
21 | 0 | 23 | 2 | |
58 | 0 | 56 | 16 | |
23 | 2 | 15 | 9 | |
2 | 0 | 87 | 25 | |
10 | 0 | 60 | 1 | |
89 | 0 | 65 | 13 | |
95 | 0 | |||
34 | 0 | |||
65 | 13 | |||
15 | 9 | |||
9 | 0 | |||
22 | 0 |
<tbody>
</tbody>