Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel, format text color based on that text existing in a list

Status
Not open for further replies.

renigar

Technical User
Jan 25, 2002
105
US
I have four lists of employee initials, with each list assigned it's own color. When I type any initials that exist in one of the four list I would like the newly typed initials font color to be the same as the color of the list it exist in. I would like the ability to change initials in the lists without it affecting formulas or conditional formatting or whatever mode is used to achieve the result. Employees are occasionally moved from one list to another depending on group assignments. Is this possible and if so can you point me in the right direction.
 
Hi,

I have four lists of employee initials, with each list assigned it's own color.

That's not a best and accepted method.

Your 4 lists need to be one list with a column for color. So if your table headings are Ini & Color then the Conditional Format formula for an initial in cell A1...
[tt]
=INDEX(Color,MATCH(A1,Ini,0))="Red"
[/tt]
...and then format the Font as Red, and so on for each color.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
AD1D550E-FCB5-4AB6-A3C8-1F86CACE2554_ne1bcz.jpg
 
Thanks Skip,

Your formula works great. Sometimes my brain can't see the easy stuff and I spend time trying to do it the hard way.

renigar
 
👍

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
"The most incomprehensible thing about the universe is that it is comprehensible" A. Einstein
AD1D550E-FCB5-4AB6-A3C8-1F86CACE2554_ne1bcz.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top