Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Vicky
 
Posts: n/a
Default List out the Duplication data in another worksheet

Hi,
I have a workbook which contains the database of sales Invoices almost about
60000 Invoices
Now in another worksheet I want to list out row details of the duplicate
Invoices or the details of the Invoices which is more than single invoice
no.
The data is something like below given table.
In sheet1:
doc_type doc_no doc_date
46 74000001 01/04/2006
46 74000002 01/04/2006
46 74000003 01/04/2006
46 74000004 01/04/2006
46 74000005 01/04/2006
46 74000006 01/04/2006
46 74000007 01/04/2006
46 74000007 01/04/2006
46 74000009 01/04/2006
46 74000010 01/04/2006
46 74000011 01/04/2006
46 74000011 02/04/2006
46 74000013 02/04/2006
46 74000014 02/04/2006
The answer in sheet2 would be
doc_type doc_no doc_date
46 74000007 01/04/2006
46 74000007 01/04/2006
46 74000011 01/04/2006
46 74000011 02/04/2006
i.e. the list of the duplicate doc_no. & its respective row details
Is it possible

--
Vicky
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default List out the Duplication data in another worksheet

Maybe this will work for you...

Put headers in Row 1 if you don't have them and sort your data by column B (if
it's not already sorted).

Then add a new column (D?):
Put this in D2 and drag down
=COUNTIF(B1:B3,B2)

Then apply data|filter|autofilter to that column.
Filter to show 1

Those will be the duplicates.

Select those visible cells and copy|paste them where you want.

The =countif() won't show how many times the value is duplicated, but it will
show you if it's duplicated from the one directly above or below--and that
should be enough to grab the duplicates.

The data has to be sorted, though.

Vicky wrote:

Hi,
I have a workbook which contains the database of sales Invoices almost about
60000 Invoices
Now in another worksheet I want to list out row details of the duplicate
Invoices or the details of the Invoices which is more than single invoice
no.
The data is something like below given table.
In sheet1:
doc_type doc_no doc_date
46 74000001 01/04/2006
46 74000002 01/04/2006
46 74000003 01/04/2006
46 74000004 01/04/2006
46 74000005 01/04/2006
46 74000006 01/04/2006
46 74000007 01/04/2006
46 74000007 01/04/2006
46 74000009 01/04/2006
46 74000010 01/04/2006
46 74000011 01/04/2006
46 74000011 02/04/2006
46 74000013 02/04/2006
46 74000014 02/04/2006
The answer in sheet2 would be
doc_type doc_no doc_date
46 74000007 01/04/2006
46 74000007 01/04/2006
46 74000011 01/04/2006
46 74000011 02/04/2006
i.e. the list of the duplicate doc_no. & its respective row details
Is it possible

--
Vicky


--

Dave Peterson
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
Populating worksheet via a drop down list ! kuansheng Excel Worksheet Functions 4 February 14th 06 05:48 AM
Using a data validation list to look up a defined named range in another worksheet Laura Hunt Charts and Charting in Excel 0 November 24th 05 02:29 PM
Comparing a list to a Calendar worksheet. PatrickL Excel Worksheet Functions 0 August 25th 05 04:21 PM
Saving data in a worksheet within a workbook Homeuser Excel Discussion (Misc queries) 2 August 21st 05 10:49 PM
Convert PivotTable data into a worksheet list sansk_23 Excel Worksheet Functions 3 May 2nd 05 09:51 AM


All times are GMT +1. The time now is 12:53 PM.

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"