Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default keeping text color format in a list

I've created a list and I want to keep the text color format. I have a list
of 100 items. 25 have blue text, 25 red, 25 yellow, and 25 green. I created
a list if these text items. When I select the cell I want to insert a list
(though DataValidation) all my list items are the default black text.

How can I keep the colors in the list?

Thanks,

Chris
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default keeping text color format in a list

Data|Validation won't let you bring colors back. (Samething with a formula,
too.)

But since you're only using 4 colors, could you use Format|Conditional
formatting to change the color? You could use 3 colors via Format|Conditional
formatting and then the normal color for the 4th.

I'd add a helper column adjacent to the list column.

Say the list is in Sheet2 in A1:A100
I'd insert (and hide???) a new column B that contained the color that I wanted.

Red
Blue
Yellow
Green

Then give those two columns a nice range name (insert|Name|define, call it
myTable).

Then you could set the color of the cell with the data|validation to always show
a green font (default).

But add 3 conditions under Format|conditional formatting.

Say A1 is the cell with Data|Validation
Formula is:
=(vlookup(a1,mytable,2,false)="red")
and format it red

Then add 2 more conditions with similar rules.

If you upgrade to xl2007, the number of conditional formatting rules is 64 (I
think).



Strike Eagle Loader wrote:

I've created a list and I want to keep the text color format. I have a list
of 100 items. 25 have blue text, 25 red, 25 yellow, and 25 green. I created
a list if these text items. When I select the cell I want to insert a list
(though DataValidation) all my list items are the default black text.

How can I keep the colors in the list?

Thanks,

Chris


--

Dave Peterson
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
Keeping Text format chad Excel Worksheet Functions 3 September 20th 06 09:08 PM
Cond. format text color based on another's text color manxman Excel Discussion (Misc queries) 3 August 31st 06 06:27 PM
Data Validation - List - keeping the format of the list - shading aasbury Excel Discussion (Misc queries) 1 June 5th 06 04:25 PM
Can't format cell color/text color in Office Excel 2003 in files . albertaman Excel Discussion (Misc queries) 0 February 16th 06 03:56 AM
How do I convert dates to text keeping the format? sprlarry Excel Discussion (Misc queries) 3 May 16th 05 06:06 AM


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