Moving data from a row to column based on dup

scooby103

New Member
Joined
May 22, 2003
Messages
32
Hey everyone,

I have a question, I hope someone can answer. I have data I have to upload into a crm from a CSV file. It is contacts and companies, however the CRM will only take multiple contacts from a single company if they are on the same row. Right now the data is setup to have the contacts on seperate rows. Is there an easy way to do this using a *primary key* like company name to check for the duplicates and move the required data? Example below:

Company Name First Name1 Last Name1 First Name2 Last Name2
Company A John Smith
Company A Susan Mike
Company B Frank Johnson
Company B Mike Tam

From the example I would like to move all other contacts for Company A (or Company B) to the next available Firstname2, LastName2, etc, etc. Depending on how many contacts there are, they would simply move on the same line as the first version of the company name. I don't need column headers created as I can do that myself.

Hope someone has done this before and can help out... I have way too much data to do this by hand....
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top