Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
i have a spreadsheet which contains a serial number on each row. There are 1000+ rows, does anyone has a macro that can check for rows with duplicated serial number and highlight them? thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Lynn
One way Set up a helper column and enter =COUNTIF($A$1:A1000,A1) Copy down for 1000 rows Mark the block of data, DataFilterAutofilter and use the dropdown on the helper column to select values 1 Regards Roger Govier Lynn wrote: hi, i have a spreadsheet which contains a serial number on each row. There are 1000+ rows, does anyone has a macro that can check for rows with duplicated serial number and highlight them? thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
can i put this as a marco so that i do not have to remmember this
formula? |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() select the entire column with A1 as the active cell (for example). format = Conditional formatting change Cell Value is to Formula is in the first dropdown put in a formula relative to the active cell =Countif($A:$A,A1)1 then select the formatting you want to apply when a cell is a duplicate. -- Regards, Tom Ogilvy "Lynn" wrote in message oups.com... hi, i have a spreadsheet which contains a serial number on each row. There are 1000+ rows, does anyone has a macro that can check for rows with duplicated serial number and highlight them? thanks |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
thanks Tom,
but still i need to remmember this formula =Countif($A:$A,A1)1 anyway for me to store it in excel and use it ? |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
http://www.cpearson.com/excel/duplicat.htm
Will be a ready resource. -- Regards, Tom Ogilvy "Lynn" wrote in message oups.com... thanks Tom, but still i need to remmember this formula =Countif($A:$A,A1)1 anyway for me to store it in excel and use it ? |
#7
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sorry what do you mean?
do you mean that storing Countif($A:$A,A1)1 readily for use is not possible? |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I guess that would depend on what you mean by storing.
-- Regards, Tom Ogilvy "Lynn" wrote in message oups.com... sorry what do you mean? do you mean that storing Countif($A:$A,A1)1 readily for use is not possible? |
#9
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Highlight the column that contains the serial number, then goto
data/filter/advanced filter and click the option "unique records only" it will HIDE all duplicated numbers. If you now select visible cells only and colour them, unhide all rows, you will be able to see duplicates |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Highlighting duplicates across many sheets | Excel Worksheet Functions | |||
highlighting duplicates...except it doesn't | Excel Discussion (Misc queries) | |||
highlighting duplicates | Excel Worksheet Functions | |||
Help with Highlighting all duplicates in a row | Excel Discussion (Misc queries) | |||
Highlighting Duplicates | New Users to Excel |