BookmarkSubscribeRSS Feed
mweise
Calcite | Level 5

Hello,

I have a dataset with numeric variable _MONTH with values 1,2,3, etc...

I've applied a format so that 1="Jan", 2="Feb", 3="Mar", etc... for this variable within the sas dataset.

I'd like to export this sas dataset into excel using proc export but the variable _MONTH continues to display the actual numeric (1,2,3,etc.) values instead of the formatted (Jan, Feb, Mar,etc) values.  Is there any way that I can maintain formats from the sas dataset into the excel file using proc export?

Thanks in advance for any suggestions,

Mackenzie

1 REPLY 1
Reeza
Super User

Not with proc export no, the log says so.

Use tagsets.excelxp or another option.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1058 views
  • 0 likes
  • 2 in conversation