我對 excel 很陌生,所以我希望在撰寫以下場景的 excel 公式時尋求一些幫助:
示例 我有一份員工名單,其中說明了姓名、部門和作業年限
Name Department Years of Experience
John HR 5
Mary Finance 12
Tom HR 6
Dick Finance 11
Sally HR 8
Harry Finance 10
Tim HR 8
Duke Finance 9
Simon HR 9
Dolly Finance 2
uj5u.com熱心網友回復:
嘗試使用 FILTER 函式創建公式,只需更改應用于作業表的范圍
=過濾器(B22:D32,C22:C32 =“HR”)
uj5u.com熱心網友回復:
這可以輕松完成,使用 Excel 的自動過濾基本功能,為什么不使用它:
uj5u.com熱心網友回復:
O365 的選項:
=LET(sorted,SORTBY(A2:C11,ABS(C2:C11-G2),1),FILTER(sorted,(INDEX(sorted,0,2)=G1)*(INDEX(sorted,0,3)>=G2-3)*(INDEX(sorted,0,3)<=G2 3)))
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/357736.html