B2输入数组公式=MAX(IF(D$2:D$100=A2,E$2:E$100))以同按CTRL+SHIFT+回车 这三个键作为结束再下拉
=MAX(INDIRECT("E"&MATCH(A2,D:D,0)&":"&"E"&MATCH(A2,D:D,0)+COUNTIF(D:D,A2)-1))
你可以将E列先降序排序,再用VLOOKUP
=MAX((D2:D100=A2)*E2:E100)按Ctrl+Shift+Enter
=max((d2:d100=a2)*e2:e100)