Return Value that corresponds to criteria by wildcard

joand

Active Member
Joined
Sep 18, 2003
Messages
267
Is there a way I can return all items that correspond to a wildcard criteria. In column A, I have a list of student names; in column B I have listed specific values. In Column E, I have a list of lookup values (need to search by wildcard) that I need to search in Column A and if it locates items that fit into the criteria, returns the value in Column B and separated by ";" (in case it returns multiple values). Anyone got ideas?

Sample.png
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hello

Try this, adapted from Domenic's solution see link below.

http://www.mrexcel.com/forum/showthread.php?t=565753

Follow the instructions provided regarding the code, and use the formula below.
Excel Workbook
ABCDEF
1BAdamk116QueryAdam116;594
2AAdams594QueryCho674;813;928
3Ari Choder674QueryDaniel976
4Chodrah Al813
5Tom Chols928
6bob653
7bob8
8Daniel976
Sheet1
Excel 2010
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
 
Upvote 0

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

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