Hi,
I've been looking on this for a while and can't seem to figure it out. I've fried looking for a solution on the internet, but it won't help.
So, in column E I want to sum up all amounts in C until a blank cell is reached. So for cell E3 I want to sum up 195,97 and for cell E8 I want to sum up 272,96 until 136,48.
[TABLE="width: 507"]
<colgroup><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Benefit[/TD]
[TD]Emp.no[/TD]
[TD]Bought[/TD]
[TD]Budget[/TD]
[TD]Total bought[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]156[/TD]
[TD] [/TD]
[TD="align: right"]570,78[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]195,97[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]Bicycles[/TD]
[TD="align: right"]8499[/TD]
[TD] [/TD]
[TD="align: right"]464,50[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]85277[/TD]
[TD] [/TD]
[TD="align: right"]439,21[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]95[/TD]
[TD] [/TD]
[TD="align: right"]84,37[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]82222[/TD]
[TD] [/TD]
[TD="align: right"]704,30[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]98322[/TD]
[TD] [/TD]
[TD="align: right"]265,53[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]272,96[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]226,38[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]136,48[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD]Planning my pension[/TD]
[TD="align: right"]98226[/TD]
[TD] [/TD]
[TD="align: right"]136,48[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]89577[/TD]
[TD] [/TD]
[TD="align: right"]428,03[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]89468[/TD]
[TD] [/TD]
[TD="align: right"]216,18[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]89668[/TD]
[TD] [/TD]
[TD="align: right"]705,07[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]16[/TD]
[TD]Planning my pension[/TD]
[TD="align: right"]87519[/TD]
[TD] [/TD]
[TD="align: right"]320,00[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]17[/TD]
[TD]Fitshop[/TD]
[TD="align: right"]85532[/TD]
[TD] [/TD]
[TD="align: right"]150,00[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]18[/TD]
[TD]Planning my pension[/TD]
[TD="align: right"]87958[/TD]
[TD] [/TD]
[TD="align: right"]405,40[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
What's the formula for this?
It seems like =IF(E3="";SUMIF(D:D;D3;E:E);"") won't do the trick.
I've been looking on this for a while and can't seem to figure it out. I've fried looking for a solution on the internet, but it won't help.
So, in column E I want to sum up all amounts in C until a blank cell is reached. So for cell E3 I want to sum up 195,97 and for cell E8 I want to sum up 272,96 until 136,48.
[TABLE="width: 507"]
<colgroup><col><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD] [/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD]Benefit[/TD]
[TD]Emp.no[/TD]
[TD]Bought[/TD]
[TD]Budget[/TD]
[TD]Total bought[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]156[/TD]
[TD] [/TD]
[TD="align: right"]570,78[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]195,97[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]4[/TD]
[TD]Bicycles[/TD]
[TD="align: right"]8499[/TD]
[TD] [/TD]
[TD="align: right"]464,50[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]5[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]85277[/TD]
[TD] [/TD]
[TD="align: right"]439,21[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]6[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]95[/TD]
[TD] [/TD]
[TD="align: right"]84,37[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]7[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]82222[/TD]
[TD] [/TD]
[TD="align: right"]704,30[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]8[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]98322[/TD]
[TD] [/TD]
[TD="align: right"]265,53[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]9[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]272,96[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]10[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]226,38[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]11[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]136,48[/TD]
[TD] [/TD]
[TD="align: right"]0[/TD]
[/TR]
[TR]
[TD="align: right"]12[/TD]
[TD]Planning my pension[/TD]
[TD="align: right"]98226[/TD]
[TD] [/TD]
[TD="align: right"]136,48[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]13[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]89577[/TD]
[TD] [/TD]
[TD="align: right"]428,03[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]14[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]89468[/TD]
[TD] [/TD]
[TD="align: right"]216,18[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]15[/TD]
[TD]Buy additional leave[/TD]
[TD="align: right"]89668[/TD]
[TD] [/TD]
[TD="align: right"]705,07[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]16[/TD]
[TD]Planning my pension[/TD]
[TD="align: right"]87519[/TD]
[TD] [/TD]
[TD="align: right"]320,00[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]17[/TD]
[TD]Fitshop[/TD]
[TD="align: right"]85532[/TD]
[TD] [/TD]
[TD="align: right"]150,00[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]18[/TD]
[TD]Planning my pension[/TD]
[TD="align: right"]87958[/TD]
[TD] [/TD]
[TD="align: right"]405,40[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
What's the formula for this?
It seems like =IF(E3="";SUMIF(D:D;D3;E:E);"") won't do the trick.