arkusM
Well-known Member
- Joined
- Apr 12, 2007
- Messages
- 560
Taking a page from this podcast by Bill
http://www.mrexcel.com/Excel_Named_Formulas_training.html
I worked up this formula
=SUM(INDIRECT(ADDRESS(ROW()-$G26,COLUMN())),INDIRECT(ADDRESS(ROW()-1,COLUMN())))
Which works but then I need to add this:
INDIRECT(ADDRESS((ROW(),7))
To makke this formula:
=SUM(INDIRECT(ADDRESS(ROW()-INDIRECT(ADDRESS((ROW(),7)),COLUMN())),INDIRECT(ADDRESS(ROW()-1,COLUMN())))
At which causes Excel to crash...
I am doing something wrong or is there something better I can do?
I am planning on using this like a subtotal.
http://www.mrexcel.com/Excel_Named_Formulas_training.html
I worked up this formula
=SUM(INDIRECT(ADDRESS(ROW()-$G26,COLUMN())),INDIRECT(ADDRESS(ROW()-1,COLUMN())))
Which works but then I need to add this:
INDIRECT(ADDRESS((ROW(),7))
To makke this formula:
=SUM(INDIRECT(ADDRESS(ROW()-INDIRECT(ADDRESS((ROW(),7)),COLUMN())),INDIRECT(ADDRESS(ROW()-1,COLUMN())))
At which causes Excel to crash...
I am doing something wrong or is there something better I can do?
I am planning on using this like a subtotal.