DATA Step, Macro, Functions and more

Summing Values for Repeated Dates

Reply
Regular Learner
Posts: 1

Summing Values for Repeated Dates

I've just started with SAS, and I haven't been able to figure out what I'm trying to do.

 

I have a set of financial data with a dollar amount of transactions on multiple dates, some of which repeat. I'm trying to sum the total amount of money transferred on each date, but I have no clue how to do this.

 

So far I've only managed to make a new dataset of all the unique dates, but I don't know how to compare each element of it against every element of the complete set.

 

Got any tips on how to do this?

Super User
Posts: 19,861

Re: Summing Values for Repeated Dates

[ Edited ]

Look at PROC MEANS, Example 10 In the documentation. Or scroll through here - same questions has been posted about three times today. 

Ask a Question
Discussion stats
  • 1 reply
  • 83 views
  • 0 likes
  • 2 in conversation