There is a TRANSPOSE procedure:
proc transpose data=have out=want (rename=(_Name_=Letter Col1=Value));
by id group subgroup;
run ;
You can also transpose data with arrays.
The Boston Area SAS Users Group is hosting
free webinars!
Next webinar will be in January 2025. Until then, check out our archives:
https://www.basug.org/videos. And be sure to subscribe to our our email list.