A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Enter below formula in cell F2 & copy down & to columns G & H:
=IFERROR(INDEX($A$2:$A$100, MATCH(0, INDEX(NOT(B$2:B$100=LARGE(B$2:B$10,MIN(ROW(1:1),3)))+COUNTIF(F$1:F1, $A$2:$A$100),,), 0)), "")
Column F will return multiple matches for the 3 largest values of April - ie. for the three 2s.
Column G will return multiple matches for the 3 largest values of May - ie. for 3, 2, 1 & 1;
Column H will return multiple matches for the 3 largest values of June - ie. for 3, 2 & 1;
In case you want automatic matching of month names ex. in column J you want multiple matches per month name in J1, enter below formula in cell J2 & copy down - in this case you may enter any month name in cell J1 and multiple matches will be returned for that particular month:
=IFERROR(INDEX($A$2:$A$100, MATCH(0, INDEX(NOT(OFFSET($A$2:$A$100,,MATCH(J$1,$B$1:$D$1,0))=LARGE(OFFSET($A$2:$A$100,,MATCH(J$1,$B$1:$D$1,0)),MIN(ROW(1:1),3)))+COUNTIF(J$1:J1, $A$2:$A$100),,), 0)), "")
Presume this is your requirement ... in case your query has been correctly understood.
Regards,
Amit Tandon