horizontal summing in Excel

%3CLINGO-SUB%20id%3D%22lingo-sub-1989249%22%20slang%3D%22en-US%22%3Ehorizontal%20summing%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1989249%22%20slang%3D%22en-US%22%3E%3CP%3EI%20would%20like%20to%20have%20a%20running%20total%20in%20Excel%20where%20I%20change%20weekly%20numbers%20in%20a%20column%20or%20two%20yet%20my%20last%20column%20keeps%20the%20year%20to%20date%20numbers.%26nbsp%3B%20i.e.%26nbsp%3B%20If%20A1%20is%206%20one%20week%2C%20B1%20is%202%20that%20week%2C%20C1%20should%20be%208.%26nbsp%3B%20The%20next%20week%2C%20A1%20is%203%2C%20B1%20is%204%2C%20C1%20should%20be%2015.%26nbsp%3B%20Does%20anyone%20know%20a%20formula%20for%20this%3F%26nbsp%3B%20Thanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1989249%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1990352%22%20slang%3D%22en-US%22%3ERe%3A%20horizontal%20summing%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1990352%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F902610%22%20target%3D%22_blank%22%3E%40jimsmyth%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20in%20C1%208%2C%20in%20C2%2015%2C%20etc%2C%20when%20in%20C1%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DSUM(%24A%241%3A%24B1)%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3Eand%20drag%20it%20down.%3C%2FP%3E%0A%3CP%3EIf%20sum%20for%20entire%20range%20is%20always%20in%20C1%2C%20when%20like%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-excel%22%3E%3CCODE%3E%3DSUM(A1%3AINDEX(B%3AB%2CCOUNTA(B%3AB)))%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I would like to have a running total in Excel where I change weekly numbers in a column or two yet my last column keeps the year to date numbers.  i.e.  If A1 is 6 one week, B1 is 2 that week, C1 should be 8.  The next week, A1 is 3, B1 is 4, C1 should be 15.  Does anyone know a formula for this?  Thanks.

1 Reply

@jimsmyth 

If in C1 8, in C2 15, etc, when in C1

=SUM($A$1:$B1)

and drag it down.

If sum for entire range is always in C1, when like

=SUM(A1:INDEX(B:B,COUNTA(B:B)))