Conditional Formattting

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to know if Excel will apply conditional formatting to a value if it falls within a range of values or named range. Specifically, I'd like to change the color of the cell to various colors based on which group or named range the initials of the person contained in that cell fall. Example: Group1 contains the initials KR, KM, Group 2 contains SE, PK. I'd like the conditional formatting to change the color of cells based on whether the initials contianed within that cell belong to Group1 or Group2. If I enter the initials KR into a cell, I'd like that cell to be green. If I enter SE, I'd like the cell to be blue. Make sense?
 
use formulae of

=OR(A1="KR",A1="KM")

and

=OR(A1="SE",A1="PK")

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

Steve said:
I'd like to know if Excel will apply conditional formatting to a value if
it falls within a range of values or named range. Specifically, I'd like to
change the color of the cell to various colors based on which group or named
range the initials of the person contained in that cell fall. Example:
Group1 contains the initials KR, KM, Group 2 contains SE, PK. I'd like the
conditional formatting to change the color of cells based on whether the
initials contianed within that cell belong to Group1 or Group2. If I enter
the initials KR into a cell, I'd like that cell to be green. If I enter SE,
I'd like the cell to be blue. Make sense?
 
Thanks. I tried those formulae previously to no avail, but after your post, I tried it specifying "Formula Is" instead of "Cell Value Is," which is what I had been using. Voila!
 
Sorry, I had assume that, but I should have been explicit.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

Steve said:
Thanks. I tried those formulae previously to no avail, but after your
post, I tried it specifying "Formula Is" instead of "Cell Value Is," which
is what I had been using. Voila!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top