Extract multiple matches into separate rows

RKROX907

New Member
Joined
Mar 27, 2017
Messages
17
Good Day everyone,

I'm trying to pull date from C:C by matching against the value in B2.
The current
Code:
 =INDEX(C:C,MATCH("*"&B2&"*",C:C,0))
formula that i build can only pull & extract one match.
How can i pull multiples matches and extract them as shown on Columns H,I and J

image.jpg
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Welcome to the forum.

Try:

ABCDEFGHIJK
1SKUURLSKU
2Product1URL/Product1/1.IMGProduct1URL/Product1/1.IMGURL/Product1/2.imgURL/Product1/3.img
3Product2URL/Product1/2.imgProduct2URL/Product2/1.IMGURL/Product2/2.IMGURL/Product2/3.IMT
4Product3URL/Product1/3.img
5URL/Product2/1.IMG
6URL/Product2/2.IMG
7URL/Product2/3.IMT
8

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Array Formulas
CellFormula
H2{=IF($G2="","",IFERROR(INDEX($C$2:$C$10,SMALL(IF(ISNUMBER(SEARCH($G2,$C$2:$C$10)),ROW($B$2:$B$10)-ROW($B$2)+1),COLUMNS($H2:H2))),""))}

<thead>
</thead><tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>



The formula in H2 is an array formula. Enter it in the formula bar, change the ranges to match your sheet, then press Control+Shift+Enter, not just enter. Then drag down and to the right as needed.

Hope this helps.
 
Upvote 0
Thanks a lot. I End-up using a different method.
I use concatenation to concatenate the URL & Product name
 
Upvote 0

Forum statistics

Threads
1,215,480
Messages
6,125,049
Members
449,206
Latest member
Healthydogs

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