Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Bill Howell   on Feb 19 In MS Office Category.

  
Question Answered By: Tia Hughes   on Feb 19

If I understand what you want to do I do something similar without
going into VBA.

=SUM(OFFSET($A$1,0,0,ROW()-2,1))

... Will sum  everything in column A from A1 to 2 rows  above the cell
the formula is in.
If you add rows in between it don't matter... the formula takes care
of that.

Share: 

 
 
Didn't find what you were looking for? Find more on Using Macro to automatically sum a variable range of rows? Or get search suggestion and latest updates.


Tagged: