Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default How to remove duplicated data repeated....

I am working on a spreadsheet which has many different fields. The first
column is Last Name and the second column is first name. My objective is to
delete the rows with duplicate names and only keep one of the rows. I tried
using the following formula but it was only reading the first column which is
last name. How do I change it to read the first and second column.

For instance,

Smith John
Smith John
Shot, Steve
(Keep only one John Smith and delete the other.)

My Second project which is a little different, is to take this completed
file (the one that only has John Smith and Steve Shot left and remove the
duplicates) and compare with another spreadsheet. I was going to add the
spreadsheet fields to this final spreadsheet and then I will need to remove
all duplicates. What formula do I need to apply so that I can use the filter?

Then, I have two projects....one I need to delete the "duplicate" rows and
the other I need to
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default How to remove duplicated data repeated....

Hi,

In cell C1, enter the following formula =A1&B1 and copy down. In cell D1,
use the following formula if(countif($A$1:A1,A1)1,"a",1). Now select
column D and navigate to Edit Go To Special. Click on the Formulas
radio button and check the box for Text (Please remember to keep the other
boxes unchecked). Now all the "a"'s in column D will be highlighted. You
can simply delete all the rows now.

--
Regards,

Ashsih Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Kimmie" wrote in message
...
I am working on a spreadsheet which has many different fields. The first
column is Last Name and the second column is first name. My objective is
to
delete the rows with duplicate names and only keep one of the rows. I
tried
using the following formula but it was only reading the first column which
is
last name. How do I change it to read the first and second column.

For instance,

Smith John
Smith John
Shot, Steve
(Keep only one John Smith and delete the other.)

My Second project which is a little different, is to take this completed
file (the one that only has John Smith and Steve Shot left and remove the
duplicates) and compare with another spreadsheet. I was going to add the
spreadsheet fields to this final spreadsheet and then I will need to
remove
all duplicates. What formula do I need to apply so that I can use the
filter?

Then, I have two projects....one I need to delete the "duplicate" rows and
the other I need to


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default How to remove duplicated data repeated....

Just learned something new with two of the formulas that you provided....now
how do I delete all rows that are duplicate?

Smith, John
Smith, John
Smith, John
Smith, Robert
Smith, Smith
(Delete all Johns using a similiar spreadsheet layout that you provided with
putting last name and first name together.)

I cannot thank you enough...I just learned about this helpful site. Total
lifesaver!

"Kimmie" wrote:

I am working on a spreadsheet which has many different fields. The first
column is Last Name and the second column is first name. My objective is to
delete the rows with duplicate names and only keep one of the rows. I tried
using the following formula but it was only reading the first column which is
last name. How do I change it to read the first and second column.

For instance,

Smith John
Smith John
Shot, Steve
(Keep only one John Smith and delete the other.)

My Second project which is a little different, is to take this completed
file (the one that only has John Smith and Steve Shot left and remove the
duplicates) and compare with another spreadsheet. I was going to add the
spreadsheet fields to this final spreadsheet and then I will need to remove
all duplicates. What formula do I need to apply so that I can use the filter?

Then, I have two projects....one I need to delete the "duplicate" rows and
the other I need to

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default How to remove duplicated data repeated....

Appreciate your feedback

--
Regards,

Ashsih Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Kimmie" wrote in message
...
Just learned something new with two of the formulas that you
provided....now
how do I delete all rows that are duplicate?

Smith, John
Smith, John
Smith, John
Smith, Robert
Smith, Smith
(Delete all Johns using a similiar spreadsheet layout that you provided
with
putting last name and first name together.)

I cannot thank you enough...I just learned about this helpful site. Total
lifesaver!

"Kimmie" wrote:

I am working on a spreadsheet which has many different fields. The first
column is Last Name and the second column is first name. My objective is
to
delete the rows with duplicate names and only keep one of the rows. I
tried
using the following formula but it was only reading the first column
which is
last name. How do I change it to read the first and second column.

For instance,

Smith John
Smith John
Shot, Steve
(Keep only one John Smith and delete the other.)

My Second project which is a little different, is to take this completed
file (the one that only has John Smith and Steve Shot left and remove the
duplicates) and compare with another spreadsheet. I was going to add the
spreadsheet fields to this final spreadsheet and then I will need to
remove
all duplicates. What formula do I need to apply so that I can use the
filter?

Then, I have two projects....one I need to delete the "duplicate" rows
and
the other I need to


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default How to remove duplicated data repeated....


I did not see a response to this question yet.

"Kimmie" wrote:

Just learned something new with two of the formulas that you provided....now
how do I delete all rows that are duplicate?

Smith, John
Smith, John
Smith, John
Smith, Robert
Smith, Smith
(Delete all Johns using a similiar spreadsheet layout that you provided with
putting last name and first name together.)

I cannot thank you enough...I just learned about this helpful site. Total
lifesaver!

"Kimmie" wrote:

I am working on a spreadsheet which has many different fields. The first
column is Last Name and the second column is first name. My objective is to
delete the rows with duplicate names and only keep one of the rows. I tried
using the following formula but it was only reading the first column which is
last name. How do I change it to read the first and second column.

For instance,

Smith John
Smith John
Shot, Steve
(Keep only one John Smith and delete the other.)

My Second project which is a little different, is to take this completed
file (the one that only has John Smith and Steve Shot left and remove the
duplicates) and compare with another spreadsheet. I was going to add the
spreadsheet fields to this final spreadsheet and then I will need to remove
all duplicates. What formula do I need to apply so that I can use the filter?

Then, I have two projects....one I need to delete the "duplicate" rows and
the other I need to



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default How to remove duplicated data repeated....

Use datafilteradvanced filter, select unique records, then copy to another
location
That will give you a list without all the duplicates

--


Regards,


Peo Sjoblom

"Kimmie" wrote in message
...

I did not see a response to this question yet.

"Kimmie" wrote:

Just learned something new with two of the formulas that you
provided....now
how do I delete all rows that are duplicate?

Smith, John
Smith, John
Smith, John
Smith, Robert
Smith, Smith
(Delete all Johns using a similiar spreadsheet layout that you provided
with
putting last name and first name together.)

I cannot thank you enough...I just learned about this helpful site.
Total
lifesaver!

"Kimmie" wrote:

I am working on a spreadsheet which has many different fields. The
first
column is Last Name and the second column is first name. My objective
is to
delete the rows with duplicate names and only keep one of the rows. I
tried
using the following formula but it was only reading the first column
which is
last name. How do I change it to read the first and second column.

For instance,

Smith John
Smith John
Shot, Steve
(Keep only one John Smith and delete the other.)

My Second project which is a little different, is to take this
completed
file (the one that only has John Smith and Steve Shot left and remove
the
duplicates) and compare with another spreadsheet. I was going to add
the
spreadsheet fields to this final spreadsheet and then I will need to
remove
all duplicates. What formula do I need to apply so that I can use the
filter?

Then, I have two projects....one I need to delete the "duplicate" rows
and
the other I need to



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default How to remove duplicated data repeated....

If I have the following listed, how do I remove all of the John Smiths? I
want any field showing up 2 or more times removed completely.

Smith, John
Smith, John
Smith, John
Doe, Linda
Schmidt, Steve
Moore, Dave
Moore, Dave

I would like the final report only to show Linda and Steve but remove all
John Smiths and all Dave Moore because they are appearing more than once.
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default How to remove duplicated data repeated....

Assume you have a header in A4 and your names start in A5
in row 2 in F2 put


=COUNTIF($A$5:$A$500,A5)=1

adapt the range to fit and replace all cell references with your actual ones

Select the table including the headers

do datafilteradvanced filter, select copy to another location, preferably
above or below the table itself. In the criteria box use


$F$1:$F$2


once again use the actual references you have in your workbook, leave F1
blank
and then click OK

which will give you

Names
Doe, Linda
Schmidt, Steve

where Names is the fictive header I used





--


Regards,


Peo Sjoblom

"Kimmie" wrote in message
...
If I have the following listed, how do I remove all of the John Smiths? I
want any field showing up 2 or more times removed completely.

Smith, John
Smith, John
Smith, John
Doe, Linda
Schmidt, Steve
Moore, Dave
Moore, Dave

I would like the final report only to show Linda and Steve but remove all
John Smiths and all Dave Moore because they are appearing more than once.



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
How to remove duplicated items from a list? Eric Excel Worksheet Functions 2 May 14th 08 01:36 PM
How to remove duplicated data repeated in a column and keep just o Kitti Excel Worksheet Functions 5 May 9th 08 10:37 PM
No repeated/duplicated record kyoshirou Excel Discussion (Misc queries) 2 August 24th 06 01:56 PM
how do I remove repeated data in excel S. Virgile Excel Worksheet Functions 1 June 27th 06 06:00 PM
Remove ALL duplicated records, leaving behind NONE Christopher Dawes Excel Discussion (Misc queries) 2 June 6th 05 11:04 PM


All times are GMT +1. The time now is 01:30 AM.

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

About Us

"It's about Microsoft Excel"