hey all ,
im new here
i need to make sumif by date but only in the first line of the date .
if there is duplicate date dont make sum if just insert 0.
in the pic you can see in column C the result that i need
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]date[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]number[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]result[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 68"]
<colgroup><col></colgroup><tbody>[TR]
[TD]1/2/2018[/TD]
[/TR]
[TR]
[TD]1/2/2018[/TD]
[/TR]
[TR]
[TD]1/3/2018[/TD]
[/TR]
[TR]
[TD]1/3/2018[/TD]
[/TR]
[TR]
[TD]1/4/2018[/TD]
[/TR]
[TR]
[TD]1/4/2018[/TD]
[/TR]
[TR]
[TD]1/5/2018[/TD]
[/TR]
[TR]
[TD]1/5/2018[/TD]
[/TR]
[TR]
[TD]1/5/2018[/TD]
[/TR]
[TR]
[TD]1/17/2018[/TD]
[/TR]
[TR]
[TD]1/17/2018[/TD]
[/TR]
[TR]
[TD]1/19/2018[/TD]
[/TR]
[TR]
[TD]1/19/2018[/TD]
[/TR]
[TR]
[TD]1/19/2018[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]73.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]139.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-153.12[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-115.78[/TD]
[/TR]
[TR]
[TD="class: xl65"]-99.18[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]240.68[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]169.6866[/TD]
[/TR]
[TR]
[TD="class: xl65"]231.4534[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]73.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]139.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-153.12[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-214.96[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]240.68[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]401.14[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
im new here
i need to make sumif by date but only in the first line of the date .
if there is duplicate date dont make sum if just insert 0.
in the pic you can see in column C the result that i need
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]date[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]number[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR]
[TD="width: 64"]result[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 68"]
<colgroup><col></colgroup><tbody>[TR]
[TD]1/2/2018[/TD]
[/TR]
[TR]
[TD]1/2/2018[/TD]
[/TR]
[TR]
[TD]1/3/2018[/TD]
[/TR]
[TR]
[TD]1/3/2018[/TD]
[/TR]
[TR]
[TD]1/4/2018[/TD]
[/TR]
[TR]
[TD]1/4/2018[/TD]
[/TR]
[TR]
[TD]1/5/2018[/TD]
[/TR]
[TR]
[TD]1/5/2018[/TD]
[/TR]
[TR]
[TD]1/5/2018[/TD]
[/TR]
[TR]
[TD]1/17/2018[/TD]
[/TR]
[TR]
[TD]1/17/2018[/TD]
[/TR]
[TR]
[TD]1/19/2018[/TD]
[/TR]
[TR]
[TD]1/19/2018[/TD]
[/TR]
[TR]
[TD]1/19/2018[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]73.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]139.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-153.12[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-115.78[/TD]
[/TR]
[TR]
[TD="class: xl65"]-99.18[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]240.68[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]169.6866[/TD]
[/TR]
[TR]
[TD="class: xl65"]231.4534[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]73.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]139.48[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-153.12[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]-214.96[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]240.68[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]401.14[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
[TR]
[TD="class: xl65"]0[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]