I have a flat income statement and need formulas for all the total cells.
I need a vba code: first, autosum (two cells to left) Jan Total column, copy down the formula to last total row (Cost of Goods Sold Total); next autosum (four cells to left) Feb Total column, copy down the formula to last total row (Cost of Goods Sold Total), loop as many times needed. Next autosum Grand Total column (cell values of Jan, Feb, Mar, etc).
next, in column A, find first cell with "Total", autosum above cells, copy formula and paste end right. loop until last total row (Cost of Goods Sold Total)
lastly, repeat above to each worksheet (x,y,z, etc) in workbook.

for columns, I manually autosum columns, copy, paste formulas. for rows, I got to first cell that need autosum.
Selection.Copy
Range(Selection, Selection.End(xlToRight)).Select
Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
ActiveCell.Offset(0, -1).Range("A1").Select
Cells.Find(What:="total", After:=ActiveCell, LookIn:=xlFormulas2, LookAt _
:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
ActiveCell.Offset(0, 1).Range("A1").Select
This works but is time consuming.