Thank you, you fixed my obs problem! I have a syntax error and or not fully understand what you meant as it hasn't worked yet. Here are some examples of the code I have tried. data change_vigor; set WORK.flaxIn; name=tranwrd(name,'Vigor','Plant'); run; #followed by the previous code I had. and proc transpose data=WORK.flaxIn name=tranwrd(name,'Vigor','Plant') out=Transtrial4(rename=(col1=VigorScore _name_=Plant_Number)drop=_label_) ; Title 'Transposed_VigorList'; var Vigor1-Vigor5; by Species_source NOTSORTED; run; I tried following this guide after your suggestion to use TRANWRD; https://amadeus.co.uk/tips/find-and-replace-in-sas/
... View more