在Google表格中使用ARRAYFORMULA()函数时,我得到了一些奇怪的结果。比较Excel中的相同公式,我在Excel中得到了正确答案,并在Google表格中得到了错误答案。
Here is a shared Google Sheet with the error and a screenshot of the result from Excel
结果应该是12,这意味着Bob至少在一个地方工作了12个月。
任何想法都将不胜感激! TIA!
答案 0 :(得分:2)
Google表格有很多不同的功能。请改用:
=count(UNIQUE(filter(A2:A22,B2:B22=E4)))