conditional formatting for cells containing words

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

Guest

conditional formatting works very well with numbers. Is there a way to
conditionally format a cell that contains words? For example if the cell
contains "confirmed" would be green and "decline" would be red - works. What
about if the cell conatins "confirmed" but also something else in that cell?
Thanks
 
Click on "Formula Is", and enter this:

=ISNUMBER(SEARCH("defined",A1))
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================


conditional formatting works very well with numbers. Is there a way to
conditionally format a cell that contains words? For example if the cell
contains "confirmed" would be green and "decline" would be red - works. What
about if the cell conatins "confirmed" but also something else in that cell?
Thanks
 
Try this:
For text in Cell A1

<Format><Conditional Formatting>
Condition 1:
Formula is: =ISNUMBER(SEARCH("confirmed",A1))
(Set the format for condition 1)

Condition 2:
Formula is: =ISNUMBER(SEARCH("decline",A1))
(Set the format for condition 2)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro
 

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