Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Changing Font Color meeting an argument

I have a column with numbers, these numbers are unique,
is there a way to write into a formula that if a number
repetes the color of the numbers turn red.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Changing Font Color meeting an argument


You could use comditional formatting. Select your range.
I will assume a1:a6 for the example. Under format
conditional formatting, choose "formula is" and write:

=COUNTIF($A$1:$A$6,A1)1

set your pattern or font to color your dupes
Lance
-----Original Message-----
I have a column with numbers, these numbers are unique,
is there a way to write into a formula that if a number
repetes the color of the numbers turn red.
.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default Changing Font Color meeting an argument

.... and

if you only want to highlight previous instances of the repeat, that is not
the final repeat, use
=COUNTIF(A1:$A$6,A1)1
or ignore the first instance, use
=COUNTIF($A$1:A1,A1)1

--

HTH

Bob Phillips

"Lance" wrote in message
...

You could use comditional formatting. Select your range.
I will assume a1:a6 for the example. Under format
conditional formatting, choose "formula is" and write:

=COUNTIF($A$1:$A$6,A1)1

set your pattern or font to color your dupes
Lance
-----Original Message-----
I have a column with numbers, these numbers are unique,
is there a way to write into a formula that if a number
repetes the color of the numbers turn red.
.




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
Changing font color if conditions are met Bob Excel Worksheet Functions 4 November 11th 08 07:48 PM
Font color changing by itself EJamison Excel Discussion (Misc queries) 2 September 18th 08 05:34 PM
Changing Font color based on font type or size John Excel Discussion (Misc queries) 2 February 7th 08 12:50 AM
Changing Font Color bagoxc Excel Discussion (Misc queries) 2 July 17th 06 01:14 AM
can i use format (font color) in an if argument? TimH Excel Discussion (Misc queries) 1 May 17th 06 08:37 PM


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