I want to add a sum row to the bottom of an active form. For example, I have months across the columns and accounts down the rows. I want to perform a simple sum of all the accounts per month.
Where can I store this formula so that it holds? As of now when i rebuild the sheet the sum formulas changes to just hold the top row value.
The sum holds all rows when it is at the top of the account list but is there a way to keep it at the bottom?
Thanks!
Adding a SUM total to the last row in Active Form
-
- MVP
- Posts: 2836
- Joined: Tue Feb 16, 2010 2:39 pm
- OLAP Product: TM1, Palo
- Version: Beginning of time thru 10.2
- Excel Version: 2003-2007-2010-2013
- Location: Atlanta, GA
- Contact:
Re: Adding a SUM total to the last row in Active Form
Have your SUM formula add up all the current rows in the active form and one more row below. When the active form rebuilds it will then include all the new rows PLUS your blank row. Just make the height of the row 0 if you don't want to see it.allico920 wrote:I want to add a sum row to the bottom of an active form. For example, I have months across the columns and accounts down the rows. I want to perform a simple sum of all the accounts per month.
Where can I store this formula so that it holds? As of now when i rebuild the sheet the sum formulas changes to just hold the top row value.
The sum holds all rows when it is at the top of the account list but is there a way to keep it at the bottom?
Thanks!
-
- Posts: 5
- Joined: Wed Aug 27, 2014 8:36 pm
- OLAP Product: Performance Modeler
- Version: 10.2
- Excel Version: 2010
Re: Adding a SUM total to the last row in Active Form
THANK YOU!!!!
- gtonkin
- MVP
- Posts: 1265
- Joined: Thu May 06, 2010 3:03 pm
- OLAP Product: TM1
- Version: Latest and greatest
- Excel Version: Office 365 64-bit
- Location: JHB, South Africa
- Contact:
Re: Adding a SUM total to the last row in Active Form
Tomok's method is probably the most frequently used and preferred method.
In some case however you may need to do something other than sum with the range and adding the extra blank row may yield incorrect results e.g. averaging.
To get around this, you could reference the range and work with the column e.g.
IF you use the fx icon on the formula bar, the offset formula should be fairly self-explanatory.
This alternative may be of use to some who need to access a column in the AF for any number of reasons.
In some case however you may need to do something other than sum with the range and adding the extra blank row may yield incorrect results e.g. averaging.
To get around this, you could reference the range and work with the column e.g.
Code: Select all
=AVERAGE(OFFSET(TM1RPTDATARNG1,0,COLUMN(),ROWS(TM1RPTDATARNG1),1))
This alternative may be of use to some who need to access a column in the AF for any number of reasons.