I am trying to count text in column D by month of the year. Column A contains dates mm/dd/yy. I tried the following but it returns #NA.
=SUMPRODUCT((MONTH(A5:A187=1)*(YEAR(A5:A307=2005)*(D5:D307="Approved"))))
I would like to count the number of times the word "approved" showes up in column D for January 2005.
I also read through the other postings and tried
=SUMPRODUCT(--(D5:D187="Approved"),--(A5:A187>=DATE(12/31/2004)),--(A5:A187<=DATE(2/1/2005))
Any help on this would be greatly appreciated.
Bookmarks