Could try the below formula, and then pivot the data set afterwards.
D2 (copied down):
Code:
=IF(COUNTIFS($A$2:$A$65536,A2,$B$2:$B$65536,B2,$C$2:$C$65536,C2)<=1,0,0.5)
[TABLE="width: 337"]
<tbody>[TR]
[TD]Item[/TD]
[TD]Date[/TD]
[TD]Time/AM-PM[/TD]
[TD]Dup Item Count[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Apricot[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Apricot[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]PM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]PM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Banana[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Carrot[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Carrot[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Carrot[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]Pineapple[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]Pineapple[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WaterMelon[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD]WaterMelon[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]PM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]WaterMelon[/TD]
[TD="align: right"]4/5/2019[/TD]
[TD]PM[/TD]
[TD="align: right"]0.5[/TD]
[/TR]
[TR]
[TD]WaterMelon[/TD]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]0[/TD]
[/TR]
</tbody>[/TABLE]
Pivot Results (I didn't see 4/5 AM as having 2, nor did it come up as having 2 with the formula):
[TABLE="width: 262"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Time/AM-PM[/TD]
[TD]Total[/TD]
[/TR]
[TR]
[TD="align: right"]4/5/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4/5/2019[/TD]
[TD]PM[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD="align: right"]4/6/2019[/TD]
[TD]AM[/TD]
[TD="align: right"]3[/TD]
[/TR]
</tbody>[/TABLE]