I'm having issues with my array formula showing the same result on all cells. I know it's a simple Index Match, but can someone help me with whats missing to have it return multiple unique values? Most examples I've found only help with returning results within a range, but this is specific to matching text. =INDEX(Info2020[[Modêle]:[Catégorie]],MATCH(Criteria,Info2020[Catégorie],0),1)
(obviously Ctl+Shft+Enter to get {})
Ideal output:
would want all "modele" codes that match the "categorie" to be displayed.
That does not seem to be what is being shown by your Ideal Output
table. And I really don't see how your Ideal Output
is derived from the data you've posted.
But to do what you write , you can use a formula like the one below.
You need to convert all of the rows that match your criteria (the categorie
) and then INDEX
into the appropriate column. The AGGREGATE
function allows you to extract the matching rows in order.
Suggest you break apart the formula, and/or use the formula evaluation tool, to better understand how it is working.
=IFERROR(INDEX(Table1[[Modêle]:[Modêle]],AGGREGATE(15,6,1/(Table1[[Catégorie]:[Catégorie]]=J$2)*ROW(Table1[[Modêle]:[Modêle]]),ROWS($1:1))-ROW(Table1[#Headers])),"")
and fill down until you get blanks.
Data
Output
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.