I have a few questions I hope someone can help me answer

I am trying to join data from two different cubes. Cube one includes the name of different accounts and account numbers, while cube two includes the accounts on an aggregated level with planned numbers.
1. I would like to use a rule to sum up the different accounts in one total. I have made a new element in my dimension where I would like to send the total but I can’t seem to get the sum function to work (if this is a function I TM1?). For now I have solved it by using the following rule:
['Konsolidert']=['1199']+['1299']+['1599']+['1999']+['2099']+['2990'];
This rule sum up the 6 account numbers in the element "Konsolidert", but when the complexity increases this is not a good solution. Is there a sum function I can use? Sum all accounts in a given interval?
2. In my second cube I have aggregated numbers, I would like to join these numbers with cube one. The two cubes consists of the following elements:
Cube 1
Car 1
Car 2
Sum 1+2
Car 3
Car 4
Sum 3+4
Cube 2
Sum 1+2
Sum 3+4
The mutual name in both cubes is "Sum 1+2" and "Sum 3+4". I would like to get the value from cube two, for instance "Sum 1+2" and send this value to the same element in cube one.
Any help is very helpful
