#1   Report Post  
philiphales
 
Posts: n/a
Default Duplicate


I was sent a large spreadsheet full of data and needed to check the
validity of the info in a column.

I found that an item had been input in error - instead of the actual
figure the preceeding figure had been duplicated.

I highlighted this, but before finishing the page we had a powercut and
I lost the error.

I do not really want to check the whole thing again - it took 3 hours.

Is there any way of finding duplicate, but unknown data?

Like find all references of duplicate entries?

Cheers


--
philiphales
------------------------------------------------------------------------
philiphales's Profile: http://www.excelforum.com/member.php...o&userid=18641
View this thread: http://www.excelforum.com/showthread...hreadid=465837

  #2   Report Post  
Ian
 
Posts: n/a
Default

If the dulpicate cells are adjacent in the same column, try this macro. It
records all duplicate rows in another column. The comments should explain
it.

Sub find_dupes()
rr = 1 ' row to start recording results
rc=2 ' column to record results
c = 1 ' column to search (1=A, 2=B...)
For r = 2 To 12 ' rows to search (must start at minimum of 2)
If Cells(r, c) = Cells(r - 1, c) Then
Cells(rr, rc) = r
rr = rr + 1
End If
Next
End Sub

--
Ian
--
"philiphales"
wrote in message
...

I was sent a large spreadsheet full of data and needed to check the
validity of the info in a column.

I found that an item had been input in error - instead of the actual
figure the preceeding figure had been duplicated.

I highlighted this, but before finishing the page we had a powercut and
I lost the error.

I do not really want to check the whole thing again - it took 3 hours.

Is there any way of finding duplicate, but unknown data?

Like find all references of duplicate entries?

Cheers


--
philiphales
------------------------------------------------------------------------
philiphales's Profile:
http://www.excelforum.com/member.php...o&userid=18641
View this thread: http://www.excelforum.com/showthread...hreadid=465837



  #3   Report Post  
dominicb
 
Posts: n/a
Default


Good morning Philiphales

I have a free add-in available to anyone who requests it, which
contains a number of utilities. One of these will do just what you're
asking. If you want this, just drop me a line.

HTH

DominicB



--
dominicb
------------------------------------------------------------------------
dominicb's Profile:
http://www.excelforum.com/member.php...o&userid=18932
View this thread: http://www.excelforum.com/showthread...hreadid=465837

  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

You could insert an adjacent column and use a formula like:

=countif(a:a,a1)
and drag down

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

Chip Pearson has lots of ways to work with duplicates/uniques at:
http://www.cpearson.com/excel/duplicat.htm

philiphales wrote:

I was sent a large spreadsheet full of data and needed to check the
validity of the info in a column.

I found that an item had been input in error - instead of the actual
figure the preceeding figure had been duplicated.

I highlighted this, but before finishing the page we had a powercut and
I lost the error.

I do not really want to check the whole thing again - it took 3 hours.

Is there any way of finding duplicate, but unknown data?

Like find all references of duplicate entries?

Cheers

--
philiphales
------------------------------------------------------------------------
philiphales's Profile: http://www.excelforum.com/member.php...o&userid=18641
View this thread: http://www.excelforum.com/showthread...hreadid=465837


--

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
How do I find duplicate rows in a list in Excel, and not delete it Matthew in FL Excel Discussion (Misc queries) 2 June 15th 05 09:11 PM
Duplicate Disaster Zip Codes Excel Discussion (Misc queries) 3 June 13th 05 05:02 PM
Keeping duplicate rows Daniell Excel Worksheet Functions 2 April 18th 05 06:56 AM
Showing Duplicate Rows EaglesNest Excel Discussion (Misc queries) 4 March 26th 05 05:21 PM
Duplicate records in Excel Sheidsa Excel Discussion (Misc queries) 1 November 30th 04 12:23 AM


All times are GMT +1. The time now is 11:24 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"