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.

Column ABCDEF
dealer ID numberCars
ModelDealer IDModel
4866hondaac
3558toyotaba
6482scioncb

<tbody>
</tbody>

Hope that makes sense.

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

Thank you
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
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,214,976
Messages
6,122,539
Members
449,088
Latest member
RandomExceller01

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