不顯第一行内容 單依紧急數量顯紧急 B18=IF(ROW(A1)>SUMPRODUCT((A$2:A$13=A$18)*MMULT(N(B$2:J$13="紧急"),ROW(1:9)^0)),"","紧急")
B18:B23{=IFERROR(INDEX($1:$1,RIGHT(SMALL(IF((A$2:A$13=A$18)*(B$2:J$13="紧急"),ROW($2:$13)/1%+COLUMN($B:$J)),ROW(A1)),2)),"")
C18:C23=IF(B18="","","紧急")
E18:E23{=IFERROR(INDEX($1:$1,RIGHT(SMALL(IF((A$2:A$13=D$18)*(B$2:J$13="重要"),ROW($2:$13)/1%+COLUMN($B:$J)),ROW(A1)),2)),"")
F18:F23=IF(E18="","","重要")
加排序 H23:I23=INDEX($1:$1,SMALL(IF(($A$2:$A$13=H$17)*($B$2:$J$13=MID("紧急重要",COLUMN(A1)*2-1,2)),COLUMN($B:$J),99),ROW(A1)))&"" |