Some kind of look up?

jackdiamond

Board Regular
Joined
Oct 10, 2007
Messages
220
Good morning all,

Hopefully someone can help me :)

I have a range of data in Column B and I will paste in more data into column E. What I want to do is match any data in column E with the data in Column B. Does that make sense?

So If in column E we have "4996", I want to match it if there is also "4996" in column B

Could a formula move that data on the corresponding line?

Thanks in advance for any help!
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Please supply some example data with expected output covering both matching and non-matching data.
 
Upvote 0
B E F
61624 45465 22345
22345 14515 2652
2145 2652
2658 22345
2652 9998

So anything that is in column E, if it is matched in column B it will be displayed in column F

Does that make sense? Sorry, bit vague! :)
 
Upvote 0
Hi, here is one option if I've understood correctly.


Excel 2013/2016
BCDEF
1616244546522345
222345145152652
321452652
4265822345
526529998
Sheet1
Cell Formulas
RangeFormula
F1=IFERROR(INDEX($B$1:$B$5,AGGREGATE(15,6,ROW($B$1:$B$5)-ROW($B$1)+1/ISNUMBER(MATCH($B$1:$B$5,$E$1:$E$5,0)),ROWS($F$1:F1))),"")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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