Hi everyone,
I have a spreadsheet containing email sender/recipient metadata (email from, to, cc, bcc) that I am attempting to normalize. Column A contains the email IDs, and column B contains the recipients values, delimited by semi-columns. Below is an example:
I need a way to take the individual recipient values from Column A, and paste them into a new column so that each cell only contains 1 value, the goal being to have a single column with each individual recipient value. Normally I would just use Text to Columns to put each delimited value in a new column, then manually copy the values from each column into my new target column. However many of these emails contain over 100 recipients (in a few cases up to 800), so doing this manually is out of the question. Is there a formula or VBA solution that can look through each cell in column B, and extract each delimited value into its own cell in a new column, as shown below?
I have a spreadsheet containing email sender/recipient metadata (email from, to, cc, bcc) that I am attempting to normalize. Column A contains the email IDs, and column B contains the recipients values, delimited by semi-columns. Below is an example:
Column A (Email ID) | Column B (Recipient Values) |
---|---|
00001 | Bob Smith [Bob.Smith@us.doodle.com];Brett Green [Brett.Green@gmail.com] |
00002 | Jane.Doe@yahoo.com; Rob Peters <Rob.Peters@slc.com> (Rob Peters@slc.com) [Rob.Peters@slc.com] |
00004 | TGARN9 <TGARN9@Bloomberg.net>; MIKEROC <MIKEROC10@Bloomberg.net>; Jeff.Hinger@gmail.com |
I need a way to take the individual recipient values from Column A, and paste them into a new column so that each cell only contains 1 value, the goal being to have a single column with each individual recipient value. Normally I would just use Text to Columns to put each delimited value in a new column, then manually copy the values from each column into my new target column. However many of these emails contain over 100 recipients (in a few cases up to 800), so doing this manually is out of the question. Is there a formula or VBA solution that can look through each cell in column B, and extract each delimited value into its own cell in a new column, as shown below?
Unique Recipient Values |
---|
Bob Smith [Bob.Smith@us.doodle.com] |
Brett Green [Brett.Green@gmail.com] |
Jane.Doe@yahoo.com |
Rob Peters <Rob.Peters@slc.com> (Rob Peters@slc.com) [Rob.Peters@slc.com] |
TGARN9 <TGARN9@Bloomberg.net> |
MIKEROC <MIKEROC10@Bloomberg.net> |
Jeff.Hinger@gmail.com |