 Rank: Advanced Member
Groups: extranet\Forum
Joined: 8/19/2014(UTC) Posts: 106
|
I have 5 columns (one of them calculated), and I have added a total row sum(0, all(v), 0, 0). This total row gives me the total in all of the columns, but I only want it to calculate the total for some of the columns.
What is the syntax for specifying which of the columns to calculate in the total row?
|
|
|
|
|
|
 Rank: Administration
Groups: extranet\Forum
Joined: 4/7/2011(UTC) Posts: 460
|
You can do this in two ways:
1. You can copy all of your columns into calculated columns. Then, when adding a calculated row, you can with the "calculate in intersection" option determine which columns should actually take the row calculation.
2. Your calculated row can contain a number of if-then-else statements like this: if allcount(d1:0, d1, m1)=1 then xxx else if allcount(d1:0, d1, m1)=2 then yyy etc. In this way, you can have different calculations for each column, if necessary.
BR / Ole |
I work as an employee with TARGIT A/S. Any statement made by me in this forum represents my own opinion and state of mind, and is not necessarily related to or representative of TARGIT A/S. Ole Dyring |
|
|
|
|
|
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.