Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Dave542
 
Posts: n/a
Default How to combine Excel 2002 files and remove duplicate records?

Ive recently took over a task at my job of managing some Excel files.
I am using Excel 2002. There are several Excel files that need to be
combined into one file however, if I do this, I will have some duplicate
records that I will have to delete.
The only way I know how to do this is to copy and paste and then look for
duplicate records manually and delete them as I find them. Is there an easier
way to do this?
Thank you for you support and help.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
Otto Moehrbach
 
Posts: n/a
Default How to combine Excel 2002 files and remove duplicate records?

Yes, there is. I would use VBA to do that job, but I need more info. When
you say there are duplicate records, exactly what is duplicated? In other
words, if you are looking for duplicate records manually, what do you look
for? Do you look at just one column and if that one column has a duplicate,
delete one of those rows? Or do you have multiple columns and you have to
check for a duplicate in more than one column (maybe all?) before you can
say you have a duplicate? Post back with more details. HTH Otto
"Dave542" wrote in message
...
I've recently took over a task at my job of managing some Excel files.
I am using Excel 2002. There are several Excel files that need to be
combined into one file however, if I do this, I will have some duplicate
records that I will have to delete.
The only way I know how to do this is to copy and paste and then look for
duplicate records manually and delete them as I find them. Is there an
easier
way to do this?
Thank you for you support and help.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
Dave542
 
Posts: n/a
Default How to combine Excel 2002 files and remove duplicate records?

Wow...This is the first time I've posted here or done anything like this
before.
I was told at work to try asking my question here and I would get some help.
I am surprised.
Thank you very much for your reply.
I dont have VBA.
I have several columns in each file but, on of the columns is an employee ID
number.
Ill sort on this column and the delete the records (rows) that are
duplicated. If there are more that on records with the same employee number I
delete the additional records so that there is only one record per employee
ID number.


"Otto Moehrbach" wrote:

Yes, there is. I would use VBA to do that job, but I need more info. When
you say there are duplicate records, exactly what is duplicated? In other
words, if you are looking for duplicate records manually, what do you look
for? Do you look at just one column and if that one column has a duplicate,
delete one of those rows? Or do you have multiple columns and you have to
check for a duplicate in more than one column (maybe all?) before you can
say you have a duplicate? Post back with more details. HTH Otto
"Dave542" wrote in message
...
I've recently took over a task at my job of managing some Excel files.
I am using Excel 2002. There are several Excel files that need to be
combined into one file however, if I do this, I will have some duplicate
records that I will have to delete.
The only way I know how to do this is to copy and paste and then look for
duplicate records manually and delete them as I find them. Is there an
easier
way to do this?
Thank you for you support and help.




  #4   Report Post  
Posted to microsoft.public.excel.newusers
Otto Moehrbach
 
Posts: n/a
Default How to combine Excel 2002 files and remove duplicate records?

Dave
Since you need to check only one column, you can do this with a
worksheet formula or with VBA. You say that you don't have VBA. I think
you mean you don't know VBA. VBA is a part of Excel, so you have it
available.
Here is the procedure using a formula:
Let's say your data starts in row 1.
First sort all the data by the ID column.
In row 1 of the first empty column, enter the formula:
=IF(A2=A1,"Y","")

Now drag that formula down as far as your data goes.

You will see a "Y" in that column for every duplicate you have. For
instance, if you have 3 rows with the same ID, you will see 2 "Y"s.

Now do an AutoFilter (Data - Filter - AutoFilter) on the "Y" in the ID
column.

This will display all the "Y" rows together.

Delete all those rows.

Click on Data - Filter - ShowAll

Done.

This is easy to do from my end. It may not be from your end. Post back if
you need more. HTH Otto


"Dave542" wrote in message
...
Wow...This is the first time I've posted here or done anything like this
before.
I was told at work to try asking my question here and I would get some
help.
I am surprised.
Thank you very much for your reply.
I don't have VBA.
I have several columns in each file but, on of the columns is an employee
ID
number.
I'll sort on this column and the delete the records (rows) that are
duplicated. If there are more that on records with the same employee
number I
delete the additional records so that there is only one record per
employee
ID number.


"Otto Moehrbach" wrote:

Yes, there is. I would use VBA to do that job, but I need more info.
When
you say there are duplicate records, exactly what is duplicated? In
other
words, if you are looking for duplicate records manually, what do you
look
for? Do you look at just one column and if that one column has a
duplicate,
delete one of those rows? Or do you have multiple columns and you have
to
check for a duplicate in more than one column (maybe all?) before you can
say you have a duplicate? Post back with more details. HTH Otto
"Dave542" wrote in message
...
I've recently took over a task at my job of managing some Excel files.
I am using Excel 2002. There are several Excel files that need to be
combined into one file however, if I do this, I will have some
duplicate
records that I will have to delete.
The only way I know how to do this is to copy and paste and then look
for
duplicate records manually and delete them as I find them. Is there an
easier
way to do this?
Thank you for you support and help.






  #5   Report Post  
Posted to microsoft.public.excel.newusers
Otto Moehrbach
 
Posts: n/a
Default How to combine Excel 2002 files and remove duplicate records?

Dave
I forgot to mention that you should make a copy of your file and try the
procedure on the copy. Only when you feel confident that you have it, do it
on your real file. Otto
"Dave542" wrote in message
...
Wow...This is the first time I've posted here or done anything like this
before.
I was told at work to try asking my question here and I would get some
help.
I am surprised.
Thank you very much for your reply.
I don't have VBA.
I have several columns in each file but, on of the columns is an employee
ID
number.
I'll sort on this column and the delete the records (rows) that are
duplicated. If there are more that on records with the same employee
number I
delete the additional records so that there is only one record per
employee
ID number.


"Otto Moehrbach" wrote:

Yes, there is. I would use VBA to do that job, but I need more info.
When
you say there are duplicate records, exactly what is duplicated? In
other
words, if you are looking for duplicate records manually, what do you
look
for? Do you look at just one column and if that one column has a
duplicate,
delete one of those rows? Or do you have multiple columns and you have
to
check for a duplicate in more than one column (maybe all?) before you can
say you have a duplicate? Post back with more details. HTH Otto
"Dave542" wrote in message
...
I've recently took over a task at my job of managing some Excel files.
I am using Excel 2002. There are several Excel files that need to be
combined into one file however, if I do this, I will have some
duplicate
records that I will have to delete.
The only way I know how to do this is to copy and paste and then look
for
duplicate records manually and delete them as I find them. Is there an
easier
way to do this?
Thank you for you support and help.








Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
why do I have duplicate excel files - name:1 [vsync], name:2 [vsy harry38 Excel Discussion (Misc queries) 2 January 19th 07 08:16 PM
How to remove link to other files in Excel 2000 Oleg Excel Discussion (Misc queries) 2 February 14th 06 06:36 AM
Duplicate files open from autorecover Wendy Excel Discussion (Misc queries) 1 November 6th 05 10:43 PM
Quattro Pro files in Excel 2003 convert quattro Excel Discussion (Misc queries) 0 February 2nd 05 12:19 PM
Why does Excel saves all my files as temporary files? Arija Excel Discussion (Misc queries) 2 December 7th 04 11:38 PM


All times are GMT +1. The time now is 06:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"