Rolling Totals Part 2

Killer17

Active Member
Joined
Jun 30, 2007
Messages
258
Hey all, I'm using this formula it works great but I need to change the way its counting.

=SUM(OFFSET($E$55:$G$88,-INT(COUNTIF($E$21:$G$54,">0")/3),0,MAX(ROWS($E$55:$G$88)-INT(COUNTIF($E$21:$G$54,">0")/3),INT(COUNTIF($E$21:$G$54,">0")/3))))

Right now it counts like so

If I enter data into Cell E88:G88

It takes away data from cell E53:G54

I need the formula to take away one from two different cells

Examples:

Data entered Cell E88:G88
Remove Data Cell E54:G54 & E37:G37

Data entered Cell E87:G87
Remove Data Cell E53: G53 & E36: G36

Data entered Cell E86:G86
Remove Data Cell E52: G52 & E35: G35

Thanks
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,224,582
Messages
6,179,670
Members
452,936
Latest member
anamikabhargaw

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