match formula?!

splash1980

New Member
Joined
Aug 15, 2011
Messages
2
Dear all,

Please help me. I need formula to find text in within text (ex. cat) from sheet 2 and match the cat's color brown to sheet 1, etc.

sheet 1
____A_________B
1 animal
______ color
2 cat
3 dog
4 bird

sheet 2
____A________ B
1 animal______ color
2
dog_________ white
3 cat_________ brown
4 bird_________ yellow
<qtlend></qtlend>
I hope that you can understand what I am asking, as I didn't make myself that clear. :oops:
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Dear all,

Please help me. I need formula to find text in within text (ex. cat) from sheet 2 and match the cat's color brown to sheet 1, etc.

sheet 1
____A_________B
1 animal
______ color
2 cat
3 dog
4 bird

sheet 2
____A________ B
1 animal______ color
2
dog_________ white
3 cat_________ brown
4 bird_________ yellow
<qtlend></qtlend>
I hope that you can understand what I am asking, as I didn't make myself that clear. :oops:
In Sheet1, B2 enter and copy down:

=INDEX(Sheet2!$B$2:$B$4,MATCH(A2,Sheet2!$A$2:$A$4,0))
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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