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.
 

Some videos you may like

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

DanteAmor

Well-known Member
Joined
Dec 3, 2018
Messages
12,593
Office Version
  1. 2007
Platform
  1. Windows
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)),"")}
 

Watch MrExcel Video

Forum statistics

Threads
1,109,367
Messages
5,528,271
Members
409,813
Latest member
robyrux

This Week's Hot Topics

  • Change military grades into rank
    Afternoon all Need help with formula that will change military rank (i.e. 1, 2, 3 into Amn, A1C, SrA). Running IF formula that does not work...
  • VBA COUNTIF SOLUTION
    Hi The following are the errors spread across the several columns from E to Q ie. 13 columns across several sheets with more than 500 rows per...
  • INSERT ROW WITH SPECIFIS TEXT IN A COLUMN
    Hi All! How can identify that that the row to be inserted has to be inserted before 1st row with specific text in column F. If I record the...
  • Auto-Create a monthly Sign in sheet for preschool students
    The image below is what each page looks like. Above is space for the "Child Name" "Month" "Class" School days are obviously Monday-Friday but...
  • VBA vlookup multiple results
    Hi folks, Hopefully someone out there can help. I have a list to vlookup which works (ish). the lookup only picks up the first instance of the...
  • Extract values for earliest/latest times
    I am trying to put together a formula to get the earliest start time, the latest end time from column A for each person in Column B-F without the...
Top