Partial matching to multiple cells

dsteele111

New Member
Joined
Jan 19, 2019
Messages
1
Hello all,

Please see the attached image below. I am having trouble with partial matching & joining together results.

As you can see, I have recipes 1-5 in column B, with corresponding days of the week in column A beside them. The letters in column A correspond to days of the week. For instance, when doing a partial match for symbol "m", it yields one result, and that is Recipe 1. However, there is also an "m" that corresponds with Recipe 3. What function might I use to perform a partial search with multiple results.

My follow up question is that if you are able to retrieve the appropriate recipes for each symbol, could you then join the results using a joint text function and place it in the proper location in the table. Example: Underneath symbol "m" in the table, this would yield "Recipe 1 & Recipe 3"

Thank you for your help.

[TABLE="width: 400"]
<tbody>[TR]
[TD]mwf[/TD]
[TD]Recipe1[/TD]
[TD][/TD]
[TD]monday[/TD]
[TD]m[/TD]
[TD][/TD]
[TD]m[/TD]
[TD]t[/TD]
[TD]w[/TD]
[TD]r[/TD]
[TD]f[/TD]
[TD]s[/TD]
[TD]n[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]trs[/TD]
[TD]recipe 2[/TD]
[TD][/TD]
[TD]tuesday[/TD]
[TD]t[/TD]
[TD][/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD]?[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]mw[/TD]
[TD]recipe 3[/TD]
[TD][/TD]
[TD]wednesday[/TD]
[TD]w[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]sn[/TD]
[TD]recipe 4[/TD]
[TD][/TD]
[TD]thursday[/TD]
[TD]r[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]trsn[/TD]
[TD]recipe 5[/TD]
[TD][/TD]
[TD]friday[/TD]
[TD]f[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]saturday[/TD]
[TD]s[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]sunday[/TD]
[TD]n[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
How about


Excel 2013/2016
ABCDEFGHIJKL
1mtwrfsn
2mwfRecipe1mondaymRecipe1recipe 2Recipe1recipe 2Recipe1recipe 2recipe 4
3trsrecipe 2tuesdaytrecipe 3recipe 5recipe 3recipe 5recipe 4recipe 5
4mwrecipe 3wednesdaywrecipe 5
5snrecipe 4thursdayr
6trsnrecipe 5fridayf
7saturdays
8sundayn
Sheet1
Cell Formulas
RangeFormula
F2{=IFERROR(INDEX($B$2:$B$6,SMALL(IF(ISNUMBER(FIND(F$1,$A$2:$A$6)),ROW($A$2:$A$6)-ROW($A$2)+1),ROWS($1:1))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.
Named Ranges
NameRefers ToCells
all=Sheet2!$B$1:$B$8,Sheet2!$D$1:$D$8,Sheet2!$F$1:$F$8


Fill formula down & across
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,147
Members
453,021
Latest member
Justyna P

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