Match Data from different cells of same column and if matched return data from corresponding cell.

fasihuddin

New Member
Joined
Jul 26, 2016
Messages
4
Hi,


[TABLE="width: 500"]
<tbody>[TR]
[TD]Column A[/TD]
[TD]Column B[/TD]
[/TR]
[TR]
[TD]I go market[/TD]
[TD]I am going market[/TD]
[/TR]
[TR]
[TD]I go hospital[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I go park[/TD]
[TD]I am going park[/TD]
[/TR]
[TR]
[TD]I go market[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I go office[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]I go park[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I want to know a formula to pick data in cell B2 and B4 under cell B5 and B6 since A2=A5 and A4=A6 respectively.

Appreciate if anyone can quickly help.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
not clear - are you looking for duplications in column A that have either "market" or "park" in them ?
 
Upvote 0
Just to clarify - I have a data in cell A2 "I go market" and in front of it, in cell B2, I have "I am going market". Now I want B2 data automatically appear in coming cells if its corresponding Ath cell have the same data as in A2. I hope its clear.
 
Upvote 0
Thanks fort posting the formula. I have tried it but it's not working, the only result I am getting is a blank cell. Even blank cells are resultant where the data should have been picked. Thanks.
 
Upvote 0
it's working perfectly for me. can you copy A2 to A5 and check the results. may you have extra blanks.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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