Hi,
I'll preface my question with the fact that I'm extremely new to SAS programming, so this is likely a really simple question.
I have a data set with 3 columns, 10,000 rows with columns = $ amount, indicator 1 with values of 1-30, and indicator 2 with values 1-30.
What I would like as an output is 3 columns, 30 rows with column 1 just listing 1 through 30, column 2 suming the $ amounts associated with Indicator 1 equilalent to my output column 1 , and column 3 suming the $ amounts associated with Indicator 2 equilalent to my output column1. Essentially a sumif excel idea.
Can someone give me a hand in figuring this out? Thanks so much in advance.
-TK
I'll preface my question with the fact that I'm extremely new to SAS programming, so this is likely a really simple question.
I have a data set with 3 columns, 10,000 rows with columns = $ amount, indicator 1 with values of 1-30, and indicator 2 with values 1-30.
What I would like as an output is 3 columns, 30 rows with column 1 just listing 1 through 30, column 2 suming the $ amounts associated with Indicator 1 equilalent to my output column 1 , and column 3 suming the $ amounts associated with Indicator 2 equilalent to my output column1. Essentially a sumif excel idea.
Can someone give me a hand in figuring this out? Thanks so much in advance.
-TK