Displaying text on the right if it is matching

pitaszek

Board Regular
Joined
Jul 20, 2012
Messages
85
Here is the data table. I need to find values from the 2nd column in the 1st column and for instance display them in 3rd column as presented.
AB
BDB
CF
DD
E
FF
G

<tbody>
</tbody>
So if B from 2nd column is found in the 1st column, display it in the same row in the 3rd column.
 

Some videos you may like

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

gsistek

Well-known Member
Joined
Apr 4, 2011
Messages
660
Assuming this data starts in A1, try in C1:
=IF(ISERROR(MATCH(A1,B:B,0)),"",A1)
and copy down.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,561
Messages
5,596,849
Members
414,107
Latest member
Tigretto

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
Top