Hey guys,
I'm stumped -- I'm trying to count survey responses (6 or 7 ONLY on a scale of 1-7) in August 2013 (but as a cell referenced month & year) but I need to add a month specific de-dupe to the formula. I need to do all this in one formula with no helper columns such that I can change the month to July 2013 and everything will just recalculate.
I have the following data per column:
Column C = Date
Column J = How a customer rates shipping speed on a scale of 1-7
Column AB = Customer ID
Count Criteria:
- If column J = either 6 or 7 (success)
- If the date in column C is the same month as the date in C2 (success)
- If the date in column C is the same year as the date in C2 (success)
- If customer gives 2+ responses in August I want to count ONLY 6's & 7's, ONLY in August, and ONLY for the most recent August date in a descending list (FAIL)
- Do not count N/A's (FAIL)
- Do not count Blanks (success)
Here is the formula I've been using:
=SUMPRODUCT(--(MONTH(Sheet1!$C$2:$C$100)=MONTH($C$2)),--(YEAR(Sheet1!$C$2:$C$100)=YEAR($C$2)),--((Sheet1!$J$2:$J$100)>5))
I've attached a XLSX file for reference and I highlighted duplicates Customer IDs in red and the rows actually I want to count in yellow.
ExcelForum - jpeateDeDupe Formula.xlsx
Thanks in advance for your help with this!!
jpeate
Bookmarks