我的数据分为三列。 我希望每列都显示在新行上,而不会覆盖现有行。 请帮助......谢谢
![How do I attain the Desired output? ][1]
[1]: http://i.stack.imgur.com/pEGeG.png
我的Excel表格
Original Lines
<sentence> AAA </sentence>
<sentence> BBB </sentence>
<sentence> CCC </sentence>
After Col Transpose
<sentence> <sentence> <sentence>
AAA BBB CCC
</sentence> </sentence> </sentence>
Desired Output
<sentence>
AAA
</sentence>
<sentence>
BBB
</sentence>
<sentence>
CCC
</sentence>
我试过转置,但所有都出现在同一行。 我希望它出现在单独的行上。 请帮助 感谢。
![enter image description here][1]
[1]: http://i.stack.imgur.com/aO3s3.png
Original Lines
<sentence> AAA </sentence>
<sentence> BBB </sentence>
<sentence> CCC </sentence>
After Col Transpose
<sentence> <sentence> <sentence>
AAA BBB CCC
</sentence> </sentence> </sentence>
Desired Output
<sentence>
AAA
</sentence>
<sentence>
BBB
</sentence>
<sentence>
CCC
</sentence>
答案 0 :(得分:0)
您是否尝试过使用公式?把它放在D1中并向下拖动:
=INT((ROW(A1)-1)/3)
它为行使用它来计算偏移矩阵:
=INT((((ROW(A1)-1)/3)- (INT((ROW(A1)-1)/3)))*3)
这是专栏:
{{1}}
然后使用该矩阵从A1应用偏移量。