vlookup / Indexing

cmcclean

New Member
Joined
Dec 19, 2018
Messages
2
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

Ref1Hold1Ref2Hold2
15535
21232
585616
23159
28725
10601
896513
95
34
65
15
9
22

<tbody>
</tbody>


The completed table will look like this:
Ref1Hold1Ref2Hold2
159535
210232
5805616
232159
208725
100601
8906513
950
340
6513
159
90
220

<tbody>
</tbody>
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try

Excel 2013/2016
ABCDE
1Ref1Hold1Ref2Hold2
2159535
3210232
45805616
5232159
6208725
7100601
88906513
9950
10340
116513
12159
1390
14220
Sheet2
Cell Formulas
RangeFormula
B2=IFERROR(INDEX($E$2:$E$8,MATCH(A2,$D$2:$D$8,0)),0)
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,216,027
Messages
6,128,370
Members
449,444
Latest member
abitrandom82

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top