I have a worksheet with the month and year (as text) in column A and "Yes" and "No" text in column F. I want to have excel count the number of "Yes" values for a given month-year and return that value in a cell. I can effectively do this manually by autofiltering the data to the month-year I want and then filtering the "Yes" cells in column F and then counting them, but I would like to do this in a formula automatically in a cell. Can anyone show me how to do this.
Thanks!



