Hello, I have a dateset which looks like this: Month Value A Value B MAR2011 10% 20 APR2011 11% 20 JUN2011 10% 27 JUL2011 10% 22 AUG2011 15% 20 SEPT2011 12% 25 OKT2011 10% 23 NOV2011 10% 21 The macro variable disp_bin is the number of months that I have to summarize on. For example if the disp_bin is 3 then SEPT,OKT en NOV should be one row with the average of value A and value B as new value A and B AUG JUL en JUN should be one row with the average of value A and value B as new value A and B MAR and APR should be one row (so actually i have to start at the last month) with the average of value A and value B as new value A and B I hope it is clear like this, Thanks
... View more