Cumulative Total (Before, During, After)

Datatellsall2

New Member
Joined
Jul 17, 2018
Messages
23
Hello,

I'm trying to calculate the cumulative sum of time value (before, during, and after day of call) - see the last 3 columns. I've filled in the correct amounts below as a reference for the last 3 columns. What would be the best formula to calculate this? Essentially, my formula needs to look at any information prior to the day of call ("yes" or "no"), as well as post "yes". Please note that I must take into consideration the Unique Identifier, as I have roughly 400 different ones in my full data set.

[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]Unique Identifier
[/TD]
[TD]Date[/TD]
[TD]Time Value[/TD]
[TD]Day of Call?[/TD]
[TD]Cumulative Sum of Time Value (Before Call)[/TD]
[TD]Cumulative Sum of Time Value (Day of Call)[/TD]
[TD]Cumulative Sum of Time Value (After Call)[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]8/1/2018[/TD]
[TD]3[/TD]
[TD]No[/TD]
[TD]3[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]8/2/2018[/TD]
[TD]3[/TD]
[TD]No[/TD]
[TD]6[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]8/3/2018[/TD]
[TD]3[/TD]
[TD]No[/TD]
[TD]9[/TD]
[TD]0[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]8/4/2018[/TD]
[TD]2[/TD]
[TD]Yes[/TD]
[TD]0[/TD]
[TD]2[/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]8/5/2018[/TD]
[TD]4[/TD]
[TD]No[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]100[/TD]
[TD]8/6/2018[/TD]
[TD]6[/TD]
[TD]No[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]


Thanks in advance,
M
 

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,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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