I have a sales report and I would like to have a straight table to show the selected team on left column and all the excluded columns on right by customer.
Customer: X, Y, Z
Team: A, B, C, D
when selected A,
A | B | C | D
X 1| 2 | 3 | 4
Y 2| 4 | 6 | 8
when selected B,
B | A | C | D
X 2 | 1 | 3 | 4
Y 4 | 2 | 6 | 8
I try put and If else case to dynamic to switch the 3 columns on right.
However, when I try to use the following to get the sum, I can't get the sum correctly.