ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   All cells shud contain a unique ref how do i check 4 duplicates? (https://www.excelbanter.com/excel-worksheet-functions/126124-all-cells-shud-contain-unique-ref-how-do-i-check-4-duplicates.html)

charlie777

All cells shud contain a unique ref how do i check 4 duplicates?
 
I am checking through a document register. The register relies on the fact
that every document has a unique referance number but i have come across a
few duplicates. How do i check the rather large register for other duplicates
without doing it manually, and without having a specific referance number to
begin with.

thanks

Martin Fishlock

All cells shud contain a unique ref how do i check 4 duplicates?
 
You need a new column and assuming that the reference numbers are in column A

try in column b

b2:=if(countif(a:a, a2)1,countif(a:a, a2),"")
and then copy it down

that will highlight duplicates and then you can do an auto filter on it to
get them
--
Hope this helps
Martin Fishlock, Bangkok, Thailand
Please do not forget to rate this reply.


"charlie777" wrote:

I am checking through a document register. The register relies on the fact
that every document has a unique referance number but i have come across a
few duplicates. How do i check the rather large register for other duplicates
without doing it manually, and without having a specific referance number to
begin with.

thanks


RichardSchollar

All cells shud contain a unique ref how do i check 4 duplicates?
 
Hi Charlie

An easy visual approach would be to use Conditional Formatting so that
duplicates get highlighted in some easily visible colour (say Red or
Green).

Assuming your document ID numbers/file names are in col A then select
the column and go FormatConditional Formatting.

Change the first drop-down arrow to Formula Is and in the bar
immediately adjacent to this, type the formula:

=COUNTIF(A:A,A1)1

Then click the Format button and go to the Patterns tab and choose your
desired colour.

Click OK, and now you can scan down your list of files, and any
duplicate cells will be highlighted in the colour you chose.

Hope this helps!

Richard

charlie777 wrote:

I am checking through a document register. The register relies on the fact
that every document has a unique referance number but i have come across a
few duplicates. How do i check the rather large register for other duplicates
without doing it manually, and without having a specific referance number to
begin with.

thanks




All times are GMT +1. The time now is 05:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com