各位IT前輩,有一個Excel問題想請教~
如下圖,A欄有很多重複值,以A欄2475-leads值來呈現結果,想把E,F欄,最後三筆資料,分別塞到K,L,M,N,O,P欄位,抓日期最大值前三筆...
因為之前的邏輯差在一個函數關係,所以改成這樣的邏輯,麻煩前輩指點...
=LARGE(IF((工作表1!$A$2:$A$35=$J2),工作表1!$C$2:$C$35,""),1)
Ctrl + Shift + Enter
=LARGE(IF((工作表1!$A$2:$A$35=$J2),工作表1!$C$2:$C$35,""),2)
Ctrl + Shift + Enter
=LARGE(IF((工作表1!$A$2:$A$35=$J2),工作表1!$C$2:$C$35,""),3)
Ctrl + Shift + Enter
=INDEX(工作表1!$B$2:$B$35,MIN(IF((工作表1!$A$2:$A$35=$J2)*(工作表1!$C$2:$C$35=$K2),ROW(INDIRECT("1:"&ROWS(工作表1!$A$2:$C$35))),"")))
Ctrl + Shift + Enter
=INDEX(工作表1!$B$2:$B$35,MIN(IF((工作表1!$A$2:$A$35=$J2)*(工作表1!$C$2:$C$35=$L2),ROW(INDIRECT("1:"&ROWS(工作表1!$A$2:$C$35))),"")))
Ctrl + Shift + Enter
=INDEX(工作表1!$B$2:$B$35,MIN(IF((工作表1!$A$2:$A$35=$J2)*(工作表1!$C$2:$C$35=$M2),ROW(INDIRECT("1:"&ROWS(工作表1!$A$2:$C$35))),"")))
Ctrl + Shift + Enter