Accumulative Sum for Same Product with Same Packing

mmm1199

New Member
Joined
Apr 18, 2018
Messages
4
Hi guys, does anyone know how to get the accumulative sum for same product type and name within a list?
Entry DateProduct TypeProduct NameInOutBal
QtyQtyQty
1/4/2018AD-DSADG85291000?
2/4/2018BO-KGSN500100000 ?
3/4/2018DS-KGDiesel100 ?
4/4/2018EO-KGSAE5026000 ?
5/4/2018BO-KGSN50025000 ?
6/4/2018DS-KGDiesel -50?
7/4/2018DS-KGDiesel -50?
8/4/2018EO-KGSAE50 -26000?
9/4/2018AD-DSADG8529 -25?
10/4/2018AD-DSADG8529 -25?
11/4/2018AD-DSADG8529200
0?

<colgroup><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>

<colgroup><col><col><col><col><col span="2"></colgroup><tbody>
</tbody>
12/4/2018 BO-DS SN500 500 ?
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Is this what your looking for?

Copy formula in F3 down as needed.
Excel Workbook
ABCDEF
1Entry DateProduct TypeProduct NameInOutBal
2QtyQtyQty
31/4/2018AD-DSADG85291000100
42/4/2018BO-KGSN500100000100000
53/4/2018DS-KGDiesel100100
64/4/2018EO-KGSAE502600026000
75/4/2018BO-KGSN50025000125000
86/4/2018DS-KGDiesel-5050
97/4/2018DS-KGDiesel-500
108/4/2018EO-KGSAE50-260000
119/4/2018AD-DSADG8529-2575
1210/4/2018AD-DSADG8529-2550
1311/4/2018AD-DSADG85292000250
Sheet
 
Upvote 0
You're welcome. Thanks for the feedback and welcome to the forum.
 
Upvote 0
Hi there Ahoync, I am new here. How did you get the excel spreadsheet to show up. I have struggled to show mine. If you can help would be god. Thanks Frank
 
Upvote 0
Frank, Hi AhoyNC, great to have your help. I was interested in the formula you posted above 18/April: I made a new workbook page entered in exact data and the formula you gave. My results were different on the last two items F112 Shows -25 & F13 shows 200. All others were correct. Intrigued how most could be right yet some wrong. Trying to get a handle of how to understand your lovely formula. F
 
Upvote 0
Frank, I have also used HTML Maker which you can find at link in post #3 .
How to use HTML Maker
https://www.youtube.com/watch?v=-_QSkuZ0ppM

Not sure why you get different answers.
Your formula in F12 should be:
Code:
[TABLE="width: 619"]
<colgroup><col width="619"></colgroup>[TR]
   [TD="width: 619"]SUMIFS($D$3:D12,$B$3:B12,B12,$C$3:C12,C12)+SUMIFS($E$3:E12,$B$3:B12,B12,$C$3:C12,C12)[/TD]
 [/TR]
[/TABLE]
Formula in F13 should be:
Code:
[TABLE]
<colgroup><col width="619"></colgroup>[TR]
   [TD="width: 619"]SUMIFS($D$3:D13,$B$3:B13,B13,$C$3:C13,C13)+SUMIFS($E$3:E13,$B$3:B13,B13,$C$3:C13,C13)
[/TD]
 [/TR]
[/TABLE]

The formula works by using an expandable range.
You will notice that the first cell in each column is locked, so that the range expands as the formula is copied down. In the example below I have just used the first SUMIFS to add the values in the "IN" (column D). Hope that helps.
Excel Workbook
ABCDEFGH
1Entry DateProduct TypeProduct NameInOutBal
2QtyQtyQtySum IN
31/4/2018AD-DSADG85291000100100
42/4/2018BO-KGSN500100000100000100000
53/4/2018DS-KGDiesel100100100
64/4/2018EO-KGSAE50260002600026000
75/4/2018BO-KGSN50025000125000125000
86/4/2018DS-KGDiesel-5050100
97/4/2018DS-KGDiesel-500100
108/4/2018EO-KGSAE50-26000026000
119/4/2018AD-DSADG8529-2575100
1210/4/2018AD-DSADG8529-2550100
1311/4/2018AD-DSADG85292000250300
Sheet
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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