我正在尝试编写一个= arrayformula,它在另一列中找到第1,第2,第3等出现的值 . 我可以通过复制所有行的公式来做到这一点,但我不想使用这个方法,我需要arrayformula简单地总是更新列,因为我需要不断插入和删除行,我不想要继续复制公式 . 提前致谢 .
Google sheet where I'm testing this.
我目前要复制的示例公式..我希望这只是一个arrayformula:
值|次数
aa | = if(A3 <>“”,countif($ A $ 3:$ A3,A3),“”)|结果:1
2 | = if(A4 <>“”,countif($ A $ 3:$ A4,A4),“”)|结果:1
aa | = if(A5 <>“”,countif($ A $ 3:$ A5,A5),“”)|结果:2
5 | = if(A6 <>“”,countif($ A $ 3:$ A6,A6),“”)|结果:1
5 | = if(A7 <>“”,countif($ A $ 3:$ A7,A7),“”)|结果:2
4 | = if(A8 <>“”,countif($ A $ 3:$ A8,A8),“”)|结果:1
1 回答
查看我使用此公式的单元格D3:
看看这对你有用吗?