Beginner's trouble with reseting sum

audotja

New Member
Joined
Sep 23, 2014
Messages
2
Hey!

I'm trying to create simple excel to use in flea market. There have been some wishes I'm trying to follow. All other problems I have solved and learned a lot by solving them, but I still have few. I have tried to find similar questions, but haven't found anything useful.

Columns A and C are left for sellers to fill in. But the column B is a problem. It is like cumulative sum, but if there are gaps, it resets. What kind of formula I need to use? Or is there any other way?

I would be really grateful for any help.

1ABCD
2PriceSumMoney GivenBack
30,500,50-
40,701,201,20-
5--
63,003,00-
72,505,5010,004,50
8--

<tbody>
</tbody>
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,713
Office Version
  1. 365
Platform
  1. Windows
Put this in B3 and copy down:

=IF(A3<>"",SUM($A$3:A3),"-")
 

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,713
Office Version
  1. 365
Platform
  1. Windows
Sorry misread. If you want it to reset the sum try something like this in B3:

=IF(A3="","-",IF(A2="",A3,B2+A3))
 
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,163,600
Messages
5,832,650
Members
430,151
Latest member
Kacbear

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