jessiehayden
New Member
- Joined
- Mar 8, 2024
- Messages
- 4
- Office Version
- 2019
- Platform
- Windows
Hi,
I’m a bit of an Excel noob, so I hope I’m able to express myself clearly. Using Office Professional Plus 2019 on a Windows 10 computer.
I'm working with a large dataset of TV show transcripts. Column A ('speaker') has the names of the characters, and column B ('line') has the lines they speak. Column A 'speaker' has duplicate values, while column B 'line' has unique values.
I want to merge rows that have duplicate values in column A 'speaker', with the values in column B 'line' being combined in the order they appear with a space (' ') as the delimiter, but only if they are consecutive in column A.
To show what I mean, I want to turn this:
into this:
As you can see, you have the duplicate values (e.g ‘Leslie Knope’) appearing again in column A if they follow another name, so they’re not all merged together.
Is there any way to do it automatically? Thanks so much!
I’m a bit of an Excel noob, so I hope I’m able to express myself clearly. Using Office Professional Plus 2019 on a Windows 10 computer.
I'm working with a large dataset of TV show transcripts. Column A ('speaker') has the names of the characters, and column B ('line') has the lines they speak. Column A 'speaker' has duplicate values, while column B 'line' has unique values.
I want to merge rows that have duplicate values in column A 'speaker', with the values in column B 'line' being combined in the order they appear with a space (' ') as the delimiter, but only if they are consecutive in column A.
To show what I mean, I want to turn this:
into this:
As you can see, you have the duplicate values (e.g ‘Leslie Knope’) appearing again in column A if they follow another name, so they’re not all merged together.
Is there any way to do it automatically? Thanks so much!