Concatenate Index Small Row

croodsimian

New Member
Joined
Mar 24, 2019
Messages
2
Guys,

So I'm using and index, small, row formula to find the nth occurrence of a result.

I'm using the below formula to concatenate the results.

{=CONCATENATE(INDEX(Table7[REPAIR NEEDED],SMALL(IF(Table7[ACTION]=$A$22,ROW(Table7[ACTION])-ROW(E24),""),1)),INDEX(Table7[REPAIR NEEDED],SMALL(IF(Table7[ACTION]=$A$22,ROW(Table7[ACTION])-ROW(E24),""),2)),INDEX(Table7[REPAIR NEEDED],SMALL(IF(Table7[ACTION]=$A$22,ROW(Table7[ACTION])-ROW(E24),""),3)))}

However, it only works if there are as many results as nth statements. So if i only have 1 or 2 occurrences, this formula does not work.

Can someone please offer a better formula?

Thanks.

Please let me know if my question is not clear enough.
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Try this:

{=IFERROR(INDEX(Table7[REPAIR NEEDED],SMALL(IF(Table7[ACTION]=$A$23,ROW(Table7[ACTION])-ROW(E24),""),1))," ")&IFERROR(INDEX(Table7[REPAIR NEEDED],SMALL(IF(Table7[ACTION]=$A$23,ROW(Table7[ACTION])-ROW(E24),""),2))," ")&IFERROR(INDEX(Table7[REPAIR NEEDED],SMALL(IF(Table7[ACTION]=$A$23,ROW(Table7[ACTION])-ROW(E24),""),3)),"")}
 
Upvote 0

Forum statistics

Threads
1,223,948
Messages
6,175,575
Members
452,652
Latest member
eduedu

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