Hi, I am currently building a top 15 list for a report which is based off a table of data. Currently i have the below formula but it is only showing the first item when there multiple of the same value.
My formula;
=INDEX(Data!A:A,MATCH(LARGE(IF(Data!D:D="HR",Data!B:B),Output!A2),IF(Data!D:D="HR",Data!B:B),0))
I have copied in below my table and then below this is the output i keep on recieving back using the above formula.
Data Table
Output
Is someone able to advise where i can edit my formula so it shows up all the unique values or provide a better formula to use which would resolve the issue.
My formula;
=INDEX(Data!A:A,MATCH(LARGE(IF(Data!D:D="HR",Data!B:B),Output!A2),IF(Data!D:D="HR",Data!B:B),0))
I have copied in below my table and then below this is the output i keep on recieving back using the above formula.
Data Table
Colleague ID | Age | Name | Department |
12333 | 26 | Lewis | HR |
12334 | 27 | Ryan | Finance |
12335 | 26 | Louise | HR |
12336 | 26 | Liam | IT |
12337 | 26 | Joanne | Finance |
12338 | 25 | Lisa | IT |
12339 | 23 | Brian | HR |
12340 | 27 | Luke | Finance |
12341 | 26 | James | IT |
Output
No | Colleague ID | Age | Name |
1 | 12333 | 26 | Lewis |
2 | 12333 | 26 | Lewis |
3 | 12339 | 23 | Brian |
4 | #NUM! | #NUM! | #NUM! |
5 | #NUM! | #NUM! | #NUM! |
6 | #NUM! | #NUM! | #NUM! |
Is someone able to advise where i can edit my formula so it shows up all the unique values or provide a better formula to use which would resolve the issue.