Searching for a Value using a Match function within and IF statement

emcgaffin

New Member
Joined
Sep 8, 2017
Messages
10
Happy Friday All!

Below is a simple table of data that I need help with. In my real sheet Column A has over 7,000 Items. Column D (Col C is blank) has about 400. I am trying to figure out a formula that will Search column A for a match in Column D, then return the value of Column B in Column E. The red numbers indicate the end result that I am looking for. I have tried using the following formula but something is wrong: =if(match(D3:D5,A3:A5,0)B3:5,""). Am I close or am I really far off?

Thanks for the help.

[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[/TR]
[TR]
[TD="align: center"]Sold VIN[/TD]
[TD="align: center"]AGE[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Purchased VIN[/TD]
[TD="align: center"]AGE[/TD]
[/TR]
[TR]
[TD="align: center"]FMJ
[/TD]
[TD="align: center"]32[/TD]
[TD="align: center"][/TD]
[TD="align: center"]RQR[/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]LUT[/TD]
[TD="align: center"]67[/TD]
[TD="align: center"][/TD]
[TD="align: center"]FMJ[/TD]
[TD="align: center"]32[/TD]
[/TR]
[TR]
[TD="align: center"]CCW[/TD]
[TD="align: center"]99[/TD]
[TD="align: center"][/TD]
[TD="align: center"]LUT[/TD]
[TD="align: center"]67[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

Forum statistics

Threads
1,223,227
Messages
6,170,853
Members
452,361
Latest member
d3ad3y3

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