Make sure you have a naming convention, then you can use the short cut list to reference your variables. So if each of the columns that you need to add start with MONTH_, such as Month_201801, Month_201802, etc then you can do the following:
Total = sum(of month_: );
The other approach is to use a long format and then use PROC TABULATE to create the summaries as needed for reporting.
... View more