我在excel中有以下数据。
ID Response
T-1 Yes
T-1 Yes
T-1 No
T-2 No
T-2 No
T-2 No我需要将计数与独特的ID和Response结合起来。
所需产出:
具有任何响应的唯一的Yes.
ID,所有的响应都是No.
ID具有Yes和No的混合响应
发布于 2021-04-07 06:31:42
根据我下面的截图,使用以下公式。
D2=UNIQUE(A2:A7) 'If you do not have Unique() function then need to use some other formula or type unique IDs manually
E2=COUNTIFS($A$2:$A$7,$D2,$B$2:$B$7,E$1)
G2=IF(OR(E2=0,F2=0),"No","Yes")

https://stackoverflow.com/questions/66980228
复制相似问题