Hello, I am using sumproduct to create a summary table that adds the score for each day. The issue I have is that the time stamp for each day includes the time as well, whereas the summary portion of the spreadsheet has no timestamp. Therefore, the equality is false.
The formula in T10 is: =SUMPRODUCT(--(F:F=S10),J:J) where S10 contains 10/8/15 as a date. The result should be 0.5.
The formula in T11 is: =SUMPRODUCT(--(F:F=S11),J:J) where S11 contains 10/9/15 as a date. The result should be -1.5.
Is there a way to convert column F to dates only within the sumproduct formula? I do not want to create another column in the data table itself which holds only the date. Also, I'd prefer not to split the date and time into 2 separate columns.
As far as doing the actual conversion, using the INT formula on the Date-Time cell and comparing that to the date cell works great. In other words, INT(10/9/15 13:07:27) = 10/9/15.
To sum up, I'd like something like this: =SUMPRODUCT(--(INT(F:F)=S10),J:J)
Thank you.
Code:
Col F Col J
10/8/15 12:26:59 0.25
10/8/15 12:29:14 0.25
10/8/15 12:29:21 0
10/9/15 13:07:27 -.75
10/9/15 13:07:27 0
10/9/15 13:07:27 -.75
The formula in T10 is: =SUMPRODUCT(--(F:F=S10),J:J) where S10 contains 10/8/15 as a date. The result should be 0.5.
The formula in T11 is: =SUMPRODUCT(--(F:F=S11),J:J) where S11 contains 10/9/15 as a date. The result should be -1.5.
Is there a way to convert column F to dates only within the sumproduct formula? I do not want to create another column in the data table itself which holds only the date. Also, I'd prefer not to split the date and time into 2 separate columns.
As far as doing the actual conversion, using the INT formula on the Date-Time cell and comparing that to the date cell works great. In other words, INT(10/9/15 13:07:27) = 10/9/15.
To sum up, I'd like something like this: =SUMPRODUCT(--(INT(F:F)=S10),J:J)
Thank you.