Good morning!
Wondering if we can take the index match Nth formula but instead of having each Nth result in its own cell, we can concatenate all results into one cell.
index match Nth formula example: https://exceljet.net/formula/get-nth...th-index-match
So here is how I currently use the index match formula:
INDEX(ResultRange,
SMALL(
IF(
(CriteriaRange1=Criteria1)*
(CriteriaRange2=Criteria2),
ROW(RowRange1)-ROW(INDEX(RowRange1,1,1))+1),
ROWS(B$2:B2)
I have to be honest, not sure how the last section really works (after ROW), I just know that it returns the row number of the cell that matches the criteria and ROWS tells the formula which Nth result it should return depending on the current row number.
All I want to do now is concatenate each result into one cell. So I want to have the 1st_result & 2nd_result & 3rd_result. This means I cant use the current row to determine which Nth result it should show.
the first issue i see, is that since we can no longer use row, we will need to repeat the use of index match for every Nth result we expect, and the number of Nth results will be limited by the number of times we use index match. In my case, thats ok since I expect no more than say 20 results, although I am worried about the amount of resources this will use.
I am guessing that it will involve the COUNTIFS function to count how many results there are and the IF function could be use to avoid running each index match function, only running it if the number of results is equal or less than the Nth result were asking for.
Bookmarks