Sum cells to left of current cell

RockandGrohl

Well-known Member
Joined
Aug 1, 2018
Messages
788
Office Version
  1. 2010
Platform
  1. Windows
For some reason I can't articulate this into google.

I'm using
Excel Formula:
=SUM($A6:INDEX(6:6,COLUMN()-1))
to sum all cells to the left of the cell where the formula is written.

I need something with a similar function, where I have a column at the end of a set of data which is subtracting one value from another.

Trouble is, whenever I insert a new column the existing formula doesn't keep up and I have to change it, a small irritation.
Excel Formula:
=BC5-BB5

So is there a way to say "Take the value immediately left of the current cell and subtract for the value two cells left of the current cell"?

I'm sure there's a better way to word that, I think I need to use cell references?

The end goal of this is to be able to insert as many columns in as I want to add data to a table, with the "Variance" column at the end cleanly updating to reference the new cells without me sorting it out over so many pages. Thanks!
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,214,641
Messages
6,120,695
Members
448,979
Latest member
DET4492

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