SUM Unbtil Next Number

Jezza25

New Member
Joined
Jan 29, 2011
Messages
16
Hi Below is 2 data fields, the first data shows current data and subsequant, I did ask a earlier question about getting it show on the individual ID's which was answered ( thanks!) what I ned is for it to add up. SO for order 3 there was actual 3 items and the quantities were 123 each, I need on a subsequant sheet for it to add up where there is a blank until it reaches order ID 4

IDQuantity
112
2123
3123
123
123
413
5123
623
Result wanting
IDQuantity
112
2123
3346
413
5123
623

<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
with a helpcolumn (F) and after that a pivot table (I and J).

See the below result.


Book1
DEFGHIJ
48numbervaluehelpRijlabelsSom van value
491121112
50212322123
51312333369
521233413
5312335123
544134623
5551235Eindtotaal663
566236
Blad20
Cell Formulas
RangeFormula
F49=IF(D49="",F48,D49)
F50=IF(D50="",F49,D50)
F51=IF(D51="",F50,D51)
F52=IF(D52="",F51,D52)
F53=IF(D53="",F52,D53)
F54=IF(D54="",F53,D54)
F55=IF(D55="",F54,D55)
F56=IF(D56="",F55,D56)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,463
Messages
6,124,963
Members
449,200
Latest member
indiansth

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