sum only preceding cells?

doug firr

Board Regular
Joined
Mar 28, 2011
Messages
140
Hello
I have a table with the columns titled January to December.

For each month I'd to show the year to date sum/total at that point in time.

So, for example, March would sum the row from January to March. August would sum the row from January to August.

Is there a formula, or combination of formulas, that I could use to sum only preceding cells? So that, say March would sum only preceding cells Jan and Feb?
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Willmonbo

Board Regular
Joined
May 16, 2010
Messages
141
it sounds simple unless I'm not getting the idea you want get done.

assuming your data to sum is in cell A1 use this

Sum($A$1:$A1) and drag it down to as many rows as needed, presumably to row 12
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,486
Messages
5,831,970
Members
430,099
Latest member
rdhoy

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
Top