I've adapted a formula I found in the archives, but I need help adapting it. I need it to count instead of sum. Here is the formula:
=SUMPRODUCT(--(YEAR(A5:A500)=YEAR(TODAY())),B5:B500)
It sums each value in column B when the date in column A matches with the current year.
I need to count the number items it is summing. Can anyone help? Thanks!
=SUMPRODUCT(--(YEAR(A5:A500)=YEAR(TODAY())),B5:B500)
It sums each value in column B when the date in column A matches with the current year.
I need to count the number items it is summing. Can anyone help? Thanks!