Excel SUMIF between dates

前端 未结 5 1961
隐瞒了意图╮
隐瞒了意图╮ 2020-12-18 19:22

I have column A with date values formatted as mm/dd/yyyy. I am trying to sum the values of column B if A >=DATE(2012,1,1) AND

=SUM(B:B) sums

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-18 19:46

    You haven't got your SUMIF in the correct order - it needs to be range, criteria, sum range. Try:

    =SUMIF(A:A,">="&DATE(2012,1,1),B:B)
    

提交回复
热议问题