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

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

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
  • 5983 views
  • 0 likes
  • 2 in conversation