Creating a field for accumulated figure

Peterso

Board Regular
Joined
Nov 28, 2012
Messages
88
I have field 1 being the Product code, field 2 being the transaction dates, field 3 being the quantity buy/sold. I want to create a field 4 which is the accumulated quantity of a product in a month. How can I do that? Thx
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Anand Sharma

Board Regular
Joined
Nov 22, 2016
Messages
63
I suggest to insert an addition field to extract month using month(b2) formula and then use sumif function to get total quantity sold in a month

codedateqtymonthsold in Month
1011/1/2016117SUMIF($D$2:$D$7,""&D2,$C$2:$C$7)
1021/2/2016217SUMIF($D$2:$D$7,""&D3,$C$2:$C$7)
1031/31/2016417SUMIF($D$2:$D$7,""&D4,$C$2:$C$7)
10411/1/201651118SUMIF($D$2:$D$7,""&D5,$C$2:$C$7)
10511/15/201661118SUMIF($D$2:$D$7,""&D6,$C$2:$C$7)
10611/30/201671118SUMIF($D$2:$D$7,""&D7,$C$2:$C$7)

<colgroup><col><col><col span="2"><col><col></colgroup><tbody>
</tbody>
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,167,747
Messages
5,855,434
Members
431,732
Latest member
albertdi827

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
Top