Sum only up to a certain point, then reset

samc2696

New Member
Joined
Jul 16, 2018
Messages
42
I have a list of staff with the hours they have worked on a weekly basis. I want to be able to put in a week's column when a payment has been made (this can be done sporadically and so isn't every week). When I put this in a column I then need a row below to reset for the following week to only show the hours that haven't been paid. For example in the below:

Acting Tracker - FINAL.xlsx
IJKLM
202 Nov '1909 Nov '1916 Nov '1923 Nov '19
3
4
5Paid
6Hrs worked60:5060:5023:4040:25
7Sum of hrs60:50121:40145:20185:45
8Sum of paid60:50121:40145:20185:45
Balances


At the moment no payments have been made hence the 'Sum of Paid' is showing exactly the same as the 'Sum of Hours'. If I were to put a Y (for paid) in say K6 i.e. payment of the 121:40 hrs worked till that point, then I would want L8=23:40 and M8=64:05 (23:40+40:25), e.g:

Acting Tracker - FINAL.xlsx
IJKLM
202 Nov '1909 Nov '1916 Nov '1923 Nov '19
3
4
5PaidY
6Hrs worked60:5060:5023:4040:25
7Sum of hrs60:50121:40145:20185:45
8Sum of paid60:50121:4023:4064:05
Balances


How can I get that to happen? I can't seem to get the SumIf and Index combination right.

Many thanks for any help
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

Forum statistics

Threads
1,223,943
Messages
6,175,552
Members
452,652
Latest member
eduedu

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