I am trying to pull statistics together from data that is entered through a user form.
There will be multiple entries for each day and I want to total the results, an example of this is below:
cell.png
Date Called Before Caller Date Yes Customer
01/07/2013 10:00 Yes Customer 01/07/2013 2 1
01/07/2013 10:10 Yes Staff 02/07/2013 1 1
01/07/2013 11:13 No Staff 03/07/2013 1 1
02/07/2013 02:30 Yes Staff 04/07/2013 1 0
02/07/2013 15:38 No Customer
03/07/2013 13:00 Yes Customer
04/07/2013 16:55 Yes Staff
I am using the sumproduct formula: =SUMPRODUCT(--($A$2:$A$8>=E2+0)*($A$2:$A$8<=E3+0)*($B$2:$B$8="Yes"))
which does seem to work, however when I get to the end of the list I get a problem as there is no next date. Rather than using >= and <= for the date, is there a way to have it so it is just = to a date?
I may need to combine the criteria later on, ie on 01/07/13 how many staff called that have not called before (answer 1)
If someone can provide me with a simpler sumproduct formula it would be greatly received.
Bookmarks