BookmarkSubscribeRSS Feed
sahoositaram555
Pyrite | Level 9

Hi All,

 

I have an excel to import in to SAS 9.4, where a few rows have been strike through. While importing I'm getting to see those rows as it is. would like to hear from experts to check if there is an option/method exist to identify those rows at the proc import level with out manually deleting them. 

 

Your help will be highly appreciated.

 

Thanks  

2 REPLIES 2
Reeza
Super User

Excel is the original source?

AFAIK there is no way to identify the strikethrough via PROC IMPORT. 

 

ballardw
Super User

SAS Proc Import brings in data values, not text color, font, font size, or font attributes like bold or strike through.

 

If there is a rule that you know as to why those values have been stricken then it may be possible to code something to remove the values.You would need to tell us rules based on values in the data other than the "stricken through" condition.

If not, make a copy of the file, delete the offending values and import from the file with deleted values.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 573 views
  • 2 likes
  • 3 in conversation