Hi All,
 
I have a question about how to calculate sum cross specific dimension.
 
For instance, I have a input like this:
       X1       X2
Y1   1         5
Y2   3         3
Y3   6         2
 
Now both X and Y are lists that I created and put into module's page selector so i can toggle.
 
I would like to create a module to such that when i choose X1 and Y2, there will be a column hold value 3, then another cell hold ALL X's sum within Y2 (6) and another hold ALL Y's sum within X1 (10).
 
Is there anyway I can achieve this?
 
 
Thank you so much!