Vlookup match and multiple returns

taikhint

New Member
Joined
Sep 19, 2011
Messages
3
I have 111,222,333,444 in my sheet 1, column A. In sheet 2, column A has aaa111zzz,bbb222zzz,ccc333zzz, ddd444zzz,aaa111zzzff. And sheet 2, column B has 100,200,300,400 and 500 respectively. How do i lookup 111 inside sheet 2 column A and return multiple values? Thanks!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Put this CSE formula in a cell and drag down wards.

=LARGE((ISNUMBER(FIND("111", $A$1:$A$100))*$B$1:$B$100), ROW(A1))

This formula needs to be put in a single cell, entered with Ctrl-Shift-Enter (Cmd+Return for Mac), and then dragged down.

It will return the matching numbers from column B, sorted descending.
 
Upvote 0
have look at the following formula

=VALUE(LEFT(REPLACE(Sheet2!A1,1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},Sheet2!A1&"0123456789"))-1,""),3))
 
Upvote 0
Put this CSE formula in a cell and drag down wards.

=LARGE((ISNUMBER(FIND("111", $A$1:$A$100))*$B$1:$B$100), ROW(A1))

This formula needs to be put in a single cell, entered with Ctrl-Shift-Enter (Cmd+Return for Mac), and then dragged down.

It will return the matching numbers from column B, sorted descending.

Thanks!
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

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