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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
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,223,710
Messages
6,174,019
Members
452,542
Latest member
Bricklin

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