INDEX(array,row_num,[column_num])。
INDEX(array,row_num,[column_num])
=IF(COUNTIF(A:A,A2)>1,”重复”,””)
=IF(COUNTIF(A$2:A2,A2)>1,”重复”,””)
=IF(COUNTIF(A2:A99,A2)>1,”重复”,””)
=DATEDIF(A2,TODAY(),”y”)
=–TEXT(MId(A2,7,8),”0-00-00″)
=IF(MOD(MId(A2,15,3),2),”男”,”女”)
A列求和:=SUM(A:A)
A列最小值:=MIN(A:A)
A列最大值:=MAX (A:A)
A列平均值:=AVERAGE(A:A)
A列数值个数:=COUNT(A:A)
=RANK.EQ(A2,A$2:A$7)
=SUMPRODUCT((B$2:B$7>B2)/COUNTIF(B$2:B$7,B$2:B$7))+1
=COUNTIF(B1:B7,”>90″)
同时选中E2:E5,输入以下公式,按Shift+Ctrl+Enter
=FREQUENCY(B2:B7,{70;80;90})
=AVERAGEIF(B2:B7,”男”,C2:C7)
=AVERAGEIFS(D2:D7,C2:C7,”男”,B2:B7,”销售”)
=SUMPRODUCT(1/COUNTIF(A2:A9,A2:A9))
C2单元格输入以下数组公式,按Ctrl+ Shift+Enter,向下复制。
=INDEX(A:A,1+MATCH(,COUNTIF(C$1:C1,A$2:A$10),))&””