COUNTIF date occurs in same week number and year

2019-10-04 01:58发布

I have a bunch of dates in Column C, and then other dates in column J. How would I count the instances of dates in column C that fall in the same week number (and same year) as a date in a particular cell in column J?

Thanks for all help in advance

1条回答
在下西门庆
2楼-- · 2019-10-04 02:18

Something like

=SUMPRODUCT(--(ISOWEEKNUM(J1)=ISOWEEKNUM($C$1:$C$10)),--(YEAR(J1)=YEAR($C$1:$C$10)))

Data

Data

查看更多
登录 后发表回答