程鸿章 发表于 2021-11-20 16:58:31

=IF(COUNTIFS(A:A,A2,C:C,">"&C2)<3,"保留","")

梅尼 发表于 2021-11-23 22:08:16

D2=IF(SUMPRODUCT(($A$2:$A$787=A2)*($C$2:$C$787>C2))+1<4,"保留","")下拉。

你别来我无恙 发表于 2021-11-26 16:19:44

如果每个行业都是从大到小排好序,可以以下公式。
=IF(COUNTIF(A$2:A2,A2)<=3,"保留","")

药药药 发表于 2021-11-27 00:36:45


=IF(C2>=LARGE(IF($A$2:$A$787=A2,$C$2:$C$787,0),3),"保留","") 数组下拉

战神敏敏 发表于 2021-11-29 11:49:41

太牛了,谢谢大佬

超丶 发表于 2021-12-4 05:05:29

=IF(C2>=LARGE(FILTER($C:$C,$A:$A=$A2),IF(COUNTA(FILTER($C:$C,$A:$A=$A2))<3,COUNTA(FILTER($C:$C,$A:$A=$A2)),3)),"保留","")
365的公式,不用事先排序

王剑峰 发表于 2021-12-9 10:38:49

数据透视表,筛选前3

风云玄幻 发表于 2021-12-11 17:44:37

我也首先想到了透视表

老谁家的小谁 发表于 2021-12-15 22:04:22

我怎么找不到有前三的选项呀

旦曲多吉 发表于 2021-12-22 05:11:18

=IF(COUNTIFS(A:A,A2,C:C,">"&C2)<3,"保留","")
页: 1 [2] 3
查看完整版本: 如果筛选行每个行业中费用最高的前三个