Sum until blank cell

jessica_p

New Member
Joined
Aug 17, 2018
Messages
10
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.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top