Summarizing and summing up multiple column

Reply
Occasional Contributor
Posts: 18

Summarizing and summing up multiple column


How can this be summarized using Proc SQL?

I have this:

AbcAmount1Amount2Amount3
g1aabb101520
g1aabb453
g1aabb453
g2bbbb453
g2bbbb653
g2bbbb463
g3bbbb473
g3bbbb783
g3bbbb459

And want to summarize it to this as a sas dataset

AbcAmount1Amount2Amount3
g1aabb182526
g2bbbb14169
g3bbbb152015
Super User
Posts: 17,816

Re: Summarizing and summing up multiple column

First hit off of Google is a good one. Terms: Summary Statistics Proc SQL

http://www2.sas.com/proceedings/forum2007/072-2007.pdf

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