Sum previous columns

IluvPivots

Board Regular
Joined
Feb 13, 2007
Messages
141
Office Version
  1. 2016
In search of a formula that I can populate across columns.
Right now it looks something like this:
In cell J7: =($B7*J$3)-I7-H7-G7-F7-E7-D7-C7
In cell K7: =($B7*K$3)-J7-I7-H7-G7-F7-E7-D7-C7
Every new column subtracts the sum of the columns previous to it. The number of columns will continue to grow. What can I use instead of referencing each cell?
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
In search of a formula that I can populate across columns.
Right now it looks something like this:
In cell J7: =($B7*J$3)-I7-H7-G7-F7-E7-D7-C7
In cell K7: =($B7*K$3)-J7-I7-H7-G7-F7-E7-D7-C7
Every new column subtracts the sum of the columns previous to it. The number of columns will continue to grow. What can I use instead of referencing each cell?
J7 =($B7*J$3)-sum($C$7:I7)
K7 =($B7*K$3)-sum($C$7:J7)
Now u can autofill it
 
Upvote 0
How about
=($B7*J$3)-SUM($C7:I7)
 
Upvote 0
try this in J7 and copy across

=($B7*J$3)-SUM($C$7:I7)
 
Upvote 0
Hi,

I'll give a different one (slightly):

=$B7*J$3-SUM($C$7:I7)

Brackets not needed for the multiplication.
 
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,271
Members
449,219
Latest member
daynle

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