如何根据日期范围获得唯一的客户数量?我试图每周获取客户数量,但我找不到办法。这是数据示例。
https://docs.google.com/spreadsheets/d/1brErf1q5KI8ir8GFFZ48KQpm7U_lCMCsPgwmCCpcNy8/edit?usp=sharing
答案 0 :(得分:0)
在F2中并向下复制以适合:
=if(iserror(FILTER($B$2:$B,$A$2:$A>=$D2,$A$2:$A<=$E2)),0,COUNTUNIQUE(FILTER($B$2:$B,$A$2:$A>=$D2,$A$2:$A<=$E2)))
答案 1 :(得分:-1)
将此内容放入F1
:
=COUNTUNIQUE(FILTER($B$2:$B, $A$2:$A >= $D2, $A$2:$A <= $E2))