A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Duplicate data entries



 
 
Thread Tools Display Modes
  #1  
Old April 22nd, 2009, 06:51 PM posted to microsoft.public.excel.worksheet.functions
Rich
external usenet poster
 
Posts: 508
Default Duplicate data entries

What I am trying to accomplish is to copy all the duplicate data from one
worksheet to another. I have five columns and I want to have the data
transfered to a new worksheet. The column that I want to find is duplicate
names which is col B, if a duplicate name is found, I want to grab the
complete row for both duplicate names. ie copy column a-e for both names.

Thanks in advance
  #2  
Old April 22nd, 2009, 08:02 PM posted to microsoft.public.excel.worksheet.functions
Bernie Deitrick
external usenet poster
 
Posts: 2,496
Default Duplicate data entries

Rich,

In column F (say, in cell F2) use a formula like

=COUNTIF(B:B,B2)1

Then copy down, and sort the entire sheet based on column F, and copy all the rows where the value
in column F is TRUE.

HTH,
Bernie
MS Excel MVP


"Rich" wrote in message
...
What I am trying to accomplish is to copy all the duplicate data from one
worksheet to another. I have five columns and I want to have the data
transfered to a new worksheet. The column that I want to find is duplicate
names which is col B, if a duplicate name is found, I want to grab the
complete row for both duplicate names. ie copy column a-e for both names.

Thanks in advance



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:28 AM.


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