Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 542
Default highlight duplicate rows

I need a way to highlight rows that are dupilcates based on what I have in
column A. I have tried doing this through conditional format but I have
crashed and burned on that one. So here is simplier example of what I have:

Column A
22
22
22
16
16
8
73
73

Basically I would like to have all the 22 entries highlighted and when I
move down I don't want the 16's highlighted but when I move to the 8, I wan't
that highlighted, and not to highlight the 73's. It would need to highlight
every other group of duplicates (or single entry).

I need a way to automate this because I have something like 23,000 rows of
data and do not want to go through the entire thing one by one. Thanks for
your help.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default highlight duplicate rows

I can see using a helper column.

Let's say the helper column is B and data starts on row 2.

Cell B2 would be 1

Cell B3 would be =IF(A3=A2,B2,B2+1)

Paste to bottom

go to Conditional formatting.

Formula is

=MOD($B2,2)=1

Pick your highlight color

Paste to bottom

"James" wrote:

I need a way to highlight rows that are dupilcates based on what I have in
column A. I have tried doing this through conditional format but I have
crashed and burned on that one. So here is simplier example of what I have:

Column A
22
22
22
16
16
8
73
73

Basically I would like to have all the 22 entries highlighted and when I
move down I don't want the 16's highlighted but when I move to the 8, I wan't
that highlighted, and not to highlight the 73's. It would need to highlight
every other group of duplicates (or single entry).

I need a way to automate this because I have something like 23,000 rows of
data and do not want to go through the entire thing one by one. Thanks for
your help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default highlight duplicate rows

Conditional format from row 2 down, using the following formula:

=MOD(SUMPRODUCT(--(A$2:A2<A$1:A1)),2)=1

Warning, though: unlike Sean's option to use a helper column, it MIGHT slow
down your sheet a bit if you do it for 23,000 rows.

"James" wrote:

I need a way to highlight rows that are dupilcates based on what I have in
column A. I have tried doing this through conditional format but I have
crashed and burned on that one. So here is simplier example of what I have:

Column A
22
22
22
16
16
8
73
73

Basically I would like to have all the 22 entries highlighted and when I
move down I don't want the 16's highlighted but when I move to the 8, I wan't
that highlighted, and not to highlight the 73's. It would need to highlight
every other group of duplicates (or single entry).

I need a way to automate this because I have something like 23,000 rows of
data and do not want to go through the entire thing one by one. Thanks for
your help.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 542
Default highlight duplicate rows

Wow this is awesome. It works great, but is there a way to make it highlight
the entire and not just that cell? Other than that it did exactly what I was
looking for.


"FiluDlidu" wrote:

Conditional format from row 2 down, using the following formula:

=MOD(SUMPRODUCT(--(A$2:A2<A$1:A1)),2)=1

Warning, though: unlike Sean's option to use a helper column, it MIGHT slow
down your sheet a bit if you do it for 23,000 rows.

"James" wrote:

I need a way to highlight rows that are dupilcates based on what I have in
column A. I have tried doing this through conditional format but I have
crashed and burned on that one. So here is simplier example of what I have:

Column A
22
22
22
16
16
8
73
73

Basically I would like to have all the 22 entries highlighted and when I
move down I don't want the 16's highlighted but when I move to the 8, I wan't
that highlighted, and not to highlight the 73's. It would need to highlight
every other group of duplicates (or single entry).

I need a way to automate this because I have something like 23,000 rows of
data and do not want to go through the entire thing one by one. Thanks for
your help.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 542
Default highlight duplicate rows

I figured out how to apply it to the rest of my data set, thank you very much
for the formula.

"FiluDlidu" wrote:

Conditional format from row 2 down, using the following formula:

=MOD(SUMPRODUCT(--(A$2:A2<A$1:A1)),2)=1

Warning, though: unlike Sean's option to use a helper column, it MIGHT slow
down your sheet a bit if you do it for 23,000 rows.

"James" wrote:

I need a way to highlight rows that are dupilcates based on what I have in
column A. I have tried doing this through conditional format but I have
crashed and burned on that one. So here is simplier example of what I have:

Column A
22
22
22
16
16
8
73
73

Basically I would like to have all the 22 entries highlighted and when I
move down I don't want the 16's highlighted but when I move to the 8, I wan't
that highlighted, and not to highlight the 73's. It would need to highlight
every other group of duplicates (or single entry).

I need a way to automate this because I have something like 23,000 rows of
data and do not want to go through the entire thing one by one. Thanks for
your help.




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 to Highlight Two Rows With Two Columns of Duplicate Values JSteph Excel Worksheet Functions 1 December 12th 07 01:59 AM
How to highlight duplicate entries? Kimbor Excel Discussion (Misc queries) 3 August 15th 06 08:39 PM
Highlight Duplicate on entry jk Setting up and Configuration of Excel 2 July 15th 06 10:46 AM
highlight duplicate entries Baylee Excel Discussion (Misc queries) 2 January 13th 06 07:26 PM
highlight duplicate numbers css Excel Discussion (Misc queries) 8 September 16th 05 09:18 AM


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