Hi
How do you do the following?
data have;
input group id;
datalines;
TEST 1
TEST 2
TEST 3
TEST .
TEST .
TEST2 1
TEST2 2
TEST2 .
;
run;
data want;
input group id;
datalines;
TEST 1
TEST 2
TEST 3
TEST 4
TEST 5
TEST2 1
TEST2 2
TEST2 3
;
run;
Thanks in advance 😀
Worked like a charm!
Thank you for your quick response 😁
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.