SUM row & Reset when certain condition is met

Status
Not open for further replies.

CASiddall

New Member
Joined
Nov 23, 2018
Messages
3
Hi

I've got a list in which I need to sum values (including blank cells) in a row , until I insert a condition 'x' which resets the count. The columns go by Weeknum and day, and in a cell (at the end of a year) I need a formula which can calculate this, as per the example

CW-1 CW-2 CW-3 CW-4 CW-5 CW-6 CW-7 ..... CW-52 Total
Row 2: 4 blank 3 x 3 2 2 7


As from this example, the sum was 7, then was reset to start sum at zero after 'x' and is now currently 7.

Any ideas on the formula (or Macro) to use in the 'Total' Column?
Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Please do not post the same question multiple times. Per forum rules, posts of a duplicate nature will be locked or deleted (rule 12 here: Forum Rules).
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,787
Messages
6,180,950
Members
453,008
Latest member
GRTMAN

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