LoginSignup
0
1

More than 3 years have passed since last update.

COUNTIF文、SUMIF文

Last updated at Posted at 2019-12-06

データを条件指定で数える

・B列が0のものを数える場合
=countif(B:B,"=0")

・B列が1以上、2000未満の場合
=countifs(B:B,">=1",B:B,"<2000")

データを条件指定で合計する

・C列の数値を合計したい、B列が0の場合
=sumif(B:B,"=0",C:C)

・C列の数値を合計したい、B列が1以上、2000未満の場合
=sumifs(C:C,B:B,">=1",B:B,"<2000")

データが追加される可能性がある場合
例)B列 B:B

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1