Làm thử:
=AGGREGATE(15,6,C$2:C$14/(B$2:B$14=F2)/(ROUND(AGGREGATE(15,6,ABS(G2-C$2:C$14/(B$2:B$14=F2)),1),1)=ROUND(ABS(G2-C$2:C$14),1)),1)
Cám ơn bác nhé, e làm đc rồi @@Làm thử:
Mã:=AGGREGATE(15,6,C$2:C$14/(B$2:B$14=F2)/(ROUND(AGGREGATE(15,6,ABS(G2-C$2:C$14/(B$2:B$14=F2)),1),1)=ROUND(ABS(G2-C$2:C$14),1)),1)