Forum Discussion

Yanbo_JIANG's avatar
Yanbo_JIANG
Copper Contributor
Feb 07, 2022
Solved

How can Excel achieve this transform function?

Is there a way to easily transform the first table into the second one in Excel? Thanks.

 

 AB
X1Y1 
X1Y2 
X1Y3 
X2Y4 
X2Y5 
X2Y6 
X2Y7 
X2Y8 
X3Y9 
X3Y10 
X3Y11 
X3Y12 
X3Y13 
X1 Y14
X1 Y15
X1 Y16
X2 Y17
X2 Y18
X2 Y19
X2 Y20
X2 Y21
X3 Y22
X3 Y23
X3 Y24
X3 Y25
X3 Y26

 

 A    B    
X1Y1Y2Y3  Y14Y15Y16  
X2Y4Y5Y6Y7Y8Y17Y18Y19Y20Y21
X3Y9Y10Y11Y12Y13Y22Y23Y24Y25Y26

Resources