SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SergioSanchez
Calcite | Level 5

Hi all

I have a code where I exported the data to an excel sheet and I wonder if is possible to aggregate data to the sheet without delete the data is placed before. My purpose is to make an accumulate with the data I exported from SAS and for making a dynamic table.

Regards

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

TBH I would import that data, append the data, and then write out a new file.  Am not sure there is an easy way to modify data already present - Excel really isn't the best tool for data.  You could also output your data to and Excel file and then copy and paste it in.

View solution in original post

4 REPLIES 4
Reeza
Super User

I believe you mean append data to a table?

I don't think it's possible Smiley Sad

RW9
Diamond | Level 26 RW9
Diamond | Level 26

TBH I would import that data, append the data, and then write out a new file.  Am not sure there is an easy way to modify data already present - Excel really isn't the best tool for data.  You could also output your data to and Excel file and then copy and paste it in.

SergioSanchez
Calcite | Level 5

I got it Smiley Happy

I followed your advice and it works, perhaps is not an elegant solution but for now it is sufficient.

thanks for your help

ballardw
Super User

I believe this might be possibly using tagsets.excelxp and proc print followed by proc means with all output directed to the same page, ie sheet_interval=none option.

But without knowing which type of aggregation an current export method just a guess.

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1467 views
  • 3 likes
  • 4 in conversation