Forum Discussion

Dylan-Tyler's avatar
Dylan-Tyler
Copper Contributor
Jul 05, 2022

Excel

I have a spreadsheet with 2612 rows and 2 columns. Each row has a school name (column A), and in column B there is a numerical code (the codes are 11, 14, 15, 27, 40 and 41). There are about 900 uniques school names; the rest are duplicates. A portion of the table is shown below. 

 

Central Alabama Community College11
Central Alabama Community College15
Enterprise State Community College11
George C Wallace Community College-Dothan11
George C Wallace Community College-Dothan15
George C Wallace Community College-Dothan41
George C Wallace State Community College-Hanceville11
George C Wallace State Community College-Hanceville15
Central Arizona College15
Central Arizona College40
Central Arizona College41
Cochise County Community College District11
Cochise County Community College District14
Cochise County Community College District15
Cochise County Community College District27
Cochise County Community College District40

 

 I want to rearrange the table so that unique school names are in column A, and there are 6 columns with the codes for that school: see below

 

 111415274041
Central Alabama Community College    
Enterprise State Community College     
George C Wallace Community College-Dothan   
George C Wallace State Community College-Hanceville    
George C Wallace State Community College-Selma    
Central Arizona College   
Cochise County Community College District