Forum Discussion

anupambit1797's avatar
anupambit1797
Iron Contributor
May 24, 2024
Solved

INDEX Match or Filter

Dear Experts,

                   Greetings!

I have a Data as below, in Column "E", I populated the Top 15 values from Column "B", now I want to have the Row Labels in Column "F" against each of the items , 2 samples in cell E5 and E6:-

Thanks in Advance,

Attached sheet.

Br,

Anupam

2 Replies

  • rachel's avatar
    rachel
    Iron Contributor
    Honestly, I think Riny's approach is not just a simple way, but is actually "the correct way", (at least in Excel). To explain it more clearly, you have list of (ReportTeam, Issue Resolution) pairs. ReportTeam is unique, but Issuer Resolution can be duplicated. using Issue Resolution as a lookup key in MATCH will only return the first match. e.g if both "MN RAN RD VRF BLR1 7" and "MN RAN RD VRF WRO2 2" have Issue Resolution = 7. MATCH will return "MN RAN RD VRF BLR1 7", but ignore "MN RAN RD VRF WRO2 2". obviously that is not what you want. Don't ask me how I came to this conclusion, but I learnt it the hard way that usually the seemingly innocent and simple solution is best solution. That being said, if you want to "sort and count" using formulas, then sort your list of (ReportTeam, Issue Resolution) pairs as a whole by "Issue Resolution", just don't separate ReportTeam and Issue Resolution, sort only "Issue Resolution" first, and then try to use MATCH find the ReportTeam, that just won't work.

Resources