Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Color Code Duplicates

I want my macro to do the following:

* Compare values within a selected range

* Wherever there is a duplicate value, change the font
color of the entire row to red

Eg If the value "apple" appeared in both A1 and A10, then
row 1 and 10 would have the red font color applied to them

Any suggestions??
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Color Code Duplicates

Hi
see: http://www.cpearson.com/excel/duplic...tingDuplicates

--
Regards
Frank Kabel
Frankfurt, Germany


Lynn wrote:
I want my macro to do the following:

* Compare values within a selected range

* Wherever there is a duplicate value, change the font
color of the entire row to red

Eg If the value "apple" appeared in both A1 and A10, then
row 1 and 10 would have the red font color applied to them

Any suggestions??

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 691
Default Color Code Duplicates

Hi Lynn,
See Conditional Formatting
http://www.mvps.org/dmcritchie/excel/condfmt.htm

Duplicated Anywhere in Column: Need not be sorted (includes first of duplicates)
Formula is: =COUNTIF($A:$A,$A1)1
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Lynn" wrote in message ...
I want my macro to do the following:

* Compare values within a selected range

* Wherever there is a duplicate value, change the font
color of the entire row to red

Eg If the value "apple" appeared in both A1 and A10, then
row 1 and 10 would have the red font color applied to them

Any suggestions??



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
Highlight Duplicates with different Color samangh1 via OfficeKB.com Excel Discussion (Misc queries) 0 January 22nd 09 08:28 PM
Color duplicates saman110 via OfficeKB.com Excel Discussion (Misc queries) 2 October 19th 07 11:26 PM
Need to Color Record in Duplicates nirod Excel Worksheet Functions 0 October 24th 06 02:15 PM
zip code and +4 duplicates darkwood Excel Discussion (Misc queries) 3 April 7th 06 05:52 PM
Preventing Duplicates using VBA (code) Jerry McCutchen Excel Programming 1 July 11th 03 04:51 PM


All times are GMT +1. The time now is 02:38 AM.

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"