Hello,
I have zero knowledge about macros or even where to start with them, so I am hoping that this problem can be solved within the set of available Excel functions.
I have 300 sales reps. Each one has been in there position for a different length of time. I want to sum there monthly revenue based on how long they have been in their position. I am currently using nested "if" statements, but after 7 months, I am hooped! Here is what I am using:
=IF(T4=6,SUM(W4:AB4),IF(T4=5,SUM(X4:AB4),IF(T4=4,SUM(Y4:AB4),IF(T4=3,SUM(Z4:AB4),IF(T4=2,SUM(AA4:AB4),IF(T4=1,AB4,0))))))
Each month I add a new column of revenue, so the range increases.
Does anyone know a way to set the sum range for each individual rep? I have a figure calculated for the number of months of revenue that should be summed, if that's any help.
I have zero knowledge about macros or even where to start with them, so I am hoping that this problem can be solved within the set of available Excel functions.
I have 300 sales reps. Each one has been in there position for a different length of time. I want to sum there monthly revenue based on how long they have been in their position. I am currently using nested "if" statements, but after 7 months, I am hooped! Here is what I am using:
=IF(T4=6,SUM(W4:AB4),IF(T4=5,SUM(X4:AB4),IF(T4=4,SUM(Y4:AB4),IF(T4=3,SUM(Z4:AB4),IF(T4=2,SUM(AA4:AB4),IF(T4=1,AB4,0))))))
Each month I add a new column of revenue, so the range increases.
Does anyone know a way to set the sum range for each individual rep? I have a figure calculated for the number of months of revenue that should be summed, if that's any help.