I would like to replace all missing values with another cells value for example...
Data Have
Data Want
data have; input Var1 Var2; cards; 10 15 11 . 12 . run; data want; set have; var2=coalesce(var2,var1); run;
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Save the date!
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.