I have the following sample data:
Book1.png
What I want to do:
-Count the number of events that were organised on EITHER Agenda 1 OR Agenda 2 between March 09, 2017 and June 15, 2017 by each individual.
Example: Number of events organised by A is 2 (if event has yes in both agenda 1 and agenda 2, it needs to be counted as ONE)
What I have been able to do:
I have been using COUNTIFs to do this. Have no trouble whatsoever with using criteria for name, date, type. Following is an example of what my formula looks like:
=COUNTIFS(Activity_Details!B:B, VLOOKUP(A4,Activity_Details!B:B,1,FALSE), Activity_Details!C:C, "Event", Activity_Details!D:D,">="&DATE(2017,3,9),Activity_Details!D:D,"<="&DATE(2017,6,15), Activity_Details!H:H, "Yes")
*Where:
Sheet name: Activity_Details
Col C = Type
Col H = Agenda 1
Col I = Agenda 2
Col D = Date
Col B = Name
What I need help with:
Within my COUNTIFs, I want to nest a single criterion (="Yes") for two ranges (Agenda 1, Agenda 2) using OR logic, whereby, if both columns have "Yes", it is counted as one.
Anyone to help would be a savior.
Bookmarks