Merging several Excel spreadsheets together

Merging several Excel spreadsheets together

Author
Discussion

BGARK

Original Poster:

5,493 posts

246 months

Tuesday 27th January 2015
quotequote all
Any tips for merging spreadsheet data together.

I have several with customers details to be used for mailshots etc, I need to remove duplicates and make sure one person is on one row only. titles such as busines name, email and so on are all in the right places using the newest data as priority.

I am sure there is probably some simple techniques but I am not an Excel guru and google so far has resulted in too much guff.

Probably around 3000 people, and trying to avoid doing manually!

Many thanks.

boony

382 posts

237 months

Tuesday 27th January 2015
quotequote all
I don't know if there's an easy way to do it with spreadsheets themselves, but this would work (assuming that each spreadsheet has the date in the same columns)...

1. export the spreadhsheets to .csv files
2. collect all the .csv files into a folder
3. create a new .bat file in that folder with the line

copy *.csv merged.csv

5. run the .bat file
4. load merged.csv back into excel
5. sort the data so you can easily identify duplicates

If you get stuck you can PM me the sheets and I'll merge them

nickd01

610 posts

215 months

Wednesday 28th January 2015
quotequote all
Or
- Copy / paste the data into one worksheet.
- Then, selected the whole area and choose Filter -> Advanced Filter. Select to copy the list to another location, and choose "Unique records only"

slinky

15,704 posts

249 months

Wednesday 28th January 2015
quotequote all
What version of Excel are you using?

BGARK

Original Poster:

5,493 posts

246 months

Wednesday 28th January 2015
quotequote all
slinky said:
What version of Excel are you using?
The latest I believe.

eps

6,292 posts

269 months

Wednesday 28th January 2015
quotequote all
boony said:
I don't know if there's an easy way to do it with spreadsheets themselves, but this would work (assuming that each spreadsheet has the date in the same columns)...

1. export the spreadhsheets to .csv files
2. collect all the .csv files into a folder
3. create a new .bat file in that folder with the line

copy *.csv merged.csv

5. run the .bat file
4. load merged.csv back into excel
5. sort the data so you can easily identify duplicates

If you get stuck you can PM me the sheets and I'll merge them
I've used this method before, works well, especially as we were working with CSVs anyway.

slinky

15,704 posts

249 months

Wednesday 28th January 2015
quotequote all
BGARK said:
slinky said:
What version of Excel are you using?
The latest I believe.
In which case, once you've got the data in one list (via C&P, or other routes suggested here) click onto the Data Tab in your ribbon and you'll see "Remove Duplicates".. It's a rather handy tool.. wink

Mr Pointy

11,206 posts

159 months

Wednesday 28th January 2015
quotequote all
How can/are you identifying which is the most current data for each person? If you're not careful you could end up picking the wrong record & it's possible you will have to manually check when there is more than one entry. When you have merged all the tabs onto a single list you could sort by something eg customer last name, assuming it's been entered consistently. This will put all the Smiths together & then you may have to flag each entry to be deleted. If you change the cell colour you can filter by this & do all the deletions in one go.

slinky

15,704 posts

249 months

Wednesday 28th January 2015
quotequote all
If you add the data through C&P in a reverse chronology (newest at the top) remove duplicates will retain the newest (uppermost) entry and delete the subsequent entries

BGARK

Original Poster:

5,493 posts

246 months

Wednesday 28th January 2015
quotequote all
How much for someone to do this for me! smile

slinky

15,704 posts

249 months

Wednesday 28th January 2015
quotequote all
You have mail.

If you don't, email me at wilDOTperryATgmailDOTcom

BGARK

Original Poster:

5,493 posts

246 months

Wednesday 28th January 2015
quotequote all
received, thanks will reply as soon as I can...