This sounds a lot like homework. As such a general "how to do x" request may get you answers that involve things not covered by your course work yet. Have you encountered Proc Means? Proc Report? Proc Tabulate? These procedures are quite often used for summaries instead of writing data steps.
The actual structure and content of data set you have does make a big difference in what approach is taken. From your "description" I am not sure that you are describing the data or the requirement. If that is the requirement then without data examples I have no clue how to start. If there is data, then some example records helps.
It sounds like you need to group results by Customer_id and Bill_account and then SUM several other variables (names not provided). If you have been exposed to Proc Report the previous sentence could be providing a very large economy sized hint on one solution.
... View more