BookmarkSubscribeRSS Feed
Granny
Calcite | Level 5
Trying to combine B1 B2 and B3 which list the same thing
In excel file, they are three different columns, trying to make it one.

B1 B2 B3

A2Ph J9GV U9Wr
J3Ik H5Hb H8sh
K8Pw J2Wn

Kind of like this

Grade Age FInitial Linitial

A2Ph
J3Ik
K8Pw
J9GV
H5Hb
J2Wn
U9Wr
H8sh

Also B3 has a no value for last cell, so how to account for that?
4 REPLIES 4
PaigeMiller
Diamond | Level 26

Okay, so your title says you want 1 Excel file, but your text says you want one Excel column. Can you clarify?

Also B3 has a no value for last cell, so how to account for that?

 

That's very much up to you, how do you want to account for that?

--
Paige Miller
Granny
Calcite | Level 5
Excel column please! I want to import it to SAS and then make the three columns merge into one, but also delete the blank value
PaigeMiller
Diamond | Level 26

Sorry, but I'm still not clear on what you mean.

 

I want to import it to SAS and then make the three columns merge into one, but also delete the blank value

 

You want to import it into SAS? Where is the data now? Text file? Excel file? SAS data set? Database? Other?


Why not import it into Excel and then re-arrange there? Why is SAS even necessary in this problem?

--
Paige Miller
Granny
Calcite | Level 5
I actually figured it out but thank you

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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