Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 184
Default script or format to identify duplicate data

Is there a way I can write a script or conditional format to identify
duplicate data. The data can be marked by highlight if need be.

Ex
Since A1 and A3 are both the same numbers both locations become highlighted.
I have a large range of data to perform this in. The numbers being
identified are lager than 2 digits.
A
1 12
2 13
3 12


Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 457
Default script or format to identify duplicate data

Conditional format would work fine:
With cell A1:
Formula is,
=COUNTIF(A:A,A1)1
Note that if you put this formula in the column next to your data, you could
copy it down and then AutoFilter based on TRUE and whatever value is in
column A to find all the duplicates.
--
Best Regards,

Luke M
"Jeremy" wrote in message
...
Is there a way I can write a script or conditional format to identify
duplicate data. The data can be marked by highlight if need be.

Ex
Since A1 and A3 are both the same numbers both locations become
highlighted.
I have a large range of data to perform this in. The numbers being
identified are lager than 2 digits.
A
1 12
2 13
3 12


Thank you



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 563
Default script or format to identify duplicate data

Conditional Formatting
a) all version of Excel;
Select the column of numbers (I will assume this is column A) and open the
Conditional Formatting dialog. The formula you want to use is
=COUNTIF(A:A,A1)1 and give a suitable format (light red fill, for example)
b) in Excel 2007: select the column of data, open the Conditional Formatting
dialog and locate "Format unique/duplicate..." and proceed from there.
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Jeremy" wrote in message
...
Is there a way I can write a script or conditional format to identify
duplicate data. The data can be marked by highlight if need be.

Ex
Since A1 and A3 are both the same numbers both locations become
highlighted.
I have a large range of data to perform this in. The numbers being
identified are lager than 2 digits.
A
1 12
2 13
3 12


Thank you


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
Identify duplicate rows Joe Excel Discussion (Misc queries) 1 October 17th 07 12:25 AM
identify duplicate data upon entry of that data Jan Buckley Excel Discussion (Misc queries) 5 December 21st 06 10:11 PM
Is there a macro to identify and remove duplicate data in Excel? Cindy Lou Excel Worksheet Functions 3 March 9th 06 03:10 AM
identify duplicate enteries Debi Excel Worksheet Functions 5 October 13th 05 12:33 AM
identify duplicate data in excel spreadsheet Mandeep Dhami Excel Discussion (Misc queries) 3 July 16th 05 01:53 PM


All times are GMT +1. The time now is 11:21 PM.

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"