Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default change font color using arguments

Have a spreadsheet with a column for Social Security #.The
person entering the data sometimes repeats the information
(Eg. Social Security # ). Being this is a lengthly
spreadsheet, is it possible to enter a formular that would
change the color(pattern)if the number is repeated(Eg
Cells with the repeat numbers the digits would turn red)
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default change font color using arguments

Try this examples Fred

http://www.cpearson.com/excel/NoDupEntry.htm
http://www.cpearson.com/excel/duplicat.htm

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2002 SP-2)
www.rondebruin.nl



"Fred" wrote in message ...
Have a spreadsheet with a column for Social Security #.The
person entering the data sometimes repeats the information
(Eg. Social Security # ). Being this is a lengthly
spreadsheet, is it possible to enter a formular that would
change the color(pattern)if the number is repeated(Eg
Cells with the repeat numbers the digits would turn red)



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default change font color using arguments

Fred,
Assumed the column is "F" and F1 has the heading.
select F2:F10000 (F2 should be the active cell)
FormatConditional Formatting
in the Conditional Formatting dialog box
change the "cell value is" to "formula is"
and type the following formula
=COUNTIF($F$2:$F$10000,$F2)1
click Format button and select red form the colour dropdown box
click OK, OK
Cecil
"Fred" wrote in message
...
Have a spreadsheet with a column for Social Security #.The
person entering the data sometimes repeats the information
(Eg. Social Security # ). Being this is a lengthly
spreadsheet, is it possible to enter a formular that would
change the color(pattern)if the number is repeated(Eg
Cells with the repeat numbers the digits would turn red)



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default change font color using arguments

also, if you use the formula
=COUNTIF($F$1:$F1,$F1)1
in the first cell and copy down as Cecil says, the first instance won't get
highlighted, just subsequent repetitions.

Just another thought.

--

HTH

Bob Phillips

"Cecilkumara Fernando" wrote in message
...
Fred,
Assumed the column is "F" and F1 has the heading.
select F2:F10000 (F2 should be the active cell)
FormatConditional Formatting
in the Conditional Formatting dialog box
change the "cell value is" to "formula is"
and type the following formula
=COUNTIF($F$2:$F$10000,$F2)1
click Format button and select red form the colour dropdown box
click OK, OK
Cecil
"Fred" wrote in message
...
Have a spreadsheet with a column for Social Security #.The
person entering the data sometimes repeats the information
(Eg. Social Security # ). Being this is a lengthly
spreadsheet, is it possible to enter a formular that would
change the color(pattern)if the number is repeated(Eg
Cells with the repeat numbers the digits would 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
Checkbox to change background color, font color and remove/ add bo Sara Excel Discussion (Misc queries) 2 May 1st 23 11:43 AM
Cannot change font color or cell color Bezell Excel Discussion (Misc queries) 2 January 30th 09 06:12 PM
Change in font and color dberger16 New Users to Excel 4 January 22nd 09 04:26 PM
how can I conditionally change font color, or background color? MOHA Excel Worksheet Functions 3 August 21st 06 06:57 PM
How to change the default Border, Font Color, and Cell Color Elijah Excel Discussion (Misc queries) 3 November 2nd 05 11:52 PM


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