If Cell B = text in col C, input value from col A

dangive

New Member
Joined
Nov 29, 2018
Messages
2
Hello everyone,

I wanted to know if there was a formula or macro that I could use which would look up a string of text in column B:B and if found in column D:D return the value which correlates to its row, but the value i want is in column A.

Its hard to explain but i am attaching an image which hopefully explains what im saying. In this image, I want the value in column A which correlates to Column F when looked up to column C and the result placed in column E.

[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[/TR]
[TR]
[TD]dealer ID number[/TD]
[TD]Cars
[/TD]
[TD]Model[/TD]
[TD][/TD]
[TD]Dealer ID[/TD]
[TD]Model[/TD]
[/TR]
[TR]
[TD]4866[/TD]
[TD]honda[/TD]
[TD]a[/TD]
[TD][/TD]
[TD][/TD]
[TD]c[/TD]
[/TR]
[TR]
[TD]3558[/TD]
[TD]toyota[/TD]
[TD]b[/TD]
[TD][/TD]
[TD][/TD]
[TD]a[/TD]
[/TR]
[TR]
[TD]6482[/TD]
[TD]scion[/TD]
[TD]c[/TD]
[TD][/TD]
[TD][/TD]
[TD]b[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Hope that makes sense.

Please let me know if there's anything that can help.

Thank you
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi,

Is this what you mean:


Book1
ABCDEF
1dealer ID numberCarsModelDealer IDModel
24866hondaa6482c
33558toyotab4866a
46482scionc3558b
Sheet372
Cell Formulas
RangeFormula
E2=INDEX(A$2:A$4,MATCH(F2,C$2:C$4,0))


Formula copied down.
 
Upvote 0
You're welcome, welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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