如图,E2公式=SUM(IFERROR(1/COUNTIFS(A2:A8,D2,B2:B8,B2:B8),)),公式输完后按CTRL+SHIFT+ENTER结束。
=SUM(IF((A2:A8="张三")*(MATCH(A2:A8&B2:B8,A2:A8&B2:B8,0)=ROW(B2:B8)-ROW(B1)),1,0))
CTRL+SHIFT+回车
=SUM(IFERROR(1/COUNTIFS(A2:A8,D2,B2:B8,B2:B8),))-1
公式输完后按CTRL+SHIFT+ENTER,
没明白,能说清楚点儿吗?《对应B列且不重复的数量有多少》怎么理解?