Hi Everyone,
I'm struggling with how to solve this and not sure if it's possible by using the formula. I think there will only be 2 duplicate values maximum.
I'm attaching a screenshot of a simplified version of the sheet and wonder if anyone can see if it's possible to overcome the duplicate values returned issue as my brain is melting down :D
screen.jpg
Cells C4 - C8 I'm trying to show the 'top 5' largest results in order from the data in F4 - G14.
It all works, apart from if a value in column G is a duplicate value (ie they are both ranking joint 3rd with a value of "20" in this case, it gets confused and just puts "Agricultural Products" in C6 and C7 instead of "Agricultural Products" and "Air Freight & Logistics" (in 3rd or 4th, either way).
(In case it helps, for example, D6 contains the formula:
=INDEX($G$4:$G$14, MATCH(LARGE($G$4:$G$14, B6), $G$4:$G$14, 0))
and C6 contains:
=INDEX($F$4:$F$14, MATCH(LARGE($G$4:$G$14, B6), $G$4:$G$14, 0))
I'm stuck and can't work it out and wondered if there's any clever trick or workaround anyone might be able to point me in the right direction? My brain is mush now
Any help greatly appreciated,
All the best,
Paul
Bookmarks