答案 0 :(得分:0)
我找到了答案:(也许也可以帮助您)
对于COUNTIF:
=COUNTIF(Table 1::B,"<10")
=COUNTIF(Table 1::B, ">10")
=COUNTIF(Table 1::B, 20) or =COUNTIF(Table 1::B,"=20")
如果您希望“大于或等于10”,则为
=COUNTIF(Table 1::B, ">=10")
对于AVERAGEIF:
=AVERAGEIF(Table 1::B,">10",Table 1::B)
=AVERAGEIFS(Table 1::B,Table 1::B,">=15",Table 1::B,"<=20")
答案 1 :(得分:-1)
使用countifs
和countif
,例如:
=COUNTIF("B:B", "<"&10) 'counts everything lower than 10 in column B
=COUNTIFS("B:B", ">=10", "B:B", "<20") '10 or higher, lower than 20
=COUNTIF("B:B", "20") 'you get the idea