如何在 Excel 中将一列分成多行?

How can I separate one single column into multiple rows in Excel?

我在 Excel 中有一个很长的垂直列表,其中包含姓名和评论。顺序总是一样的,每条评论前后都有发表评论的人的名字。因此,它具有以下形式:

name1
comment1
name1
name2
comment2
name2
name3
...

例如:

John Smith
I really liked the movie, because it was never boring.
John Smith
Jane Doe
It was the worst movie I have ever seen, a waste of my money. Would not recommend.
Jane Doe
Jake Nemo
...

顺序始终相同 (name1-comment1-name1-name2-comment2-name2-name3 ...), 所以每三个单元格属于一起 (1-3, 4-6, 7-9...)。

我想要做的是将这个垂直的Excel-列分成单独的行,其中每一行包含一个人的名字(两次)和评论。换句话说,我总是想总是取三个单元格并将它们变成一行。这样每一行都应该包含三个单元格,其中包含一个人的姓名和评论:

name1, comment1, name1
name2, comment2, name2
name3...

所以我想从这个开始: enter image description here

为此: enter image description here

由于列表很长,手动为整个列执行此操作工作量太大。有没有办法自动执行此操作? 我没有很多经验,所以非常具体和实用的步骤将不胜感激! 提前致谢!

A1 中让我们说 Sheet2! 放置以下内容:

=INDEX(Sheet1!$A:$A,((ROW()-1)*3)+COLUMN())

其中Sheet1!表示sheet的所有数据。现在,向右和向下拖动