BookmarkSubscribeRSS Feed
macatue
Calcite | Level 5

Hi, Can anyone please help me. I have set options missing = " " to display . numeric values as missing when exported to excel. Using a different SAS session, I am still getting the same result. How do I reset this option and go back to the default so that the display value for missing numeric values is . and not missing. Thank you so much!

3 REPLIES 3
Reeza
Super User

Option missing=.;

macatue
Calcite | Level 5

Thank you Reeza for answering. I tried it but . still shows up as (blank) instead of its original value.

 

data test;
a=.;
b=0;
c=1;
run;

option missing=.;

proc export data = test
outfile = "Desktop\Display Missing.xlsx"
dbms = excel replace;
sheet = "test";
run;

Reeza
Super User

What about 

 

option missing='.';

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 5953 views
  • 0 likes
  • 2 in conversation