ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   change text colour (https://www.excelbanter.com/new-users-excel/70708-change-text-colour.html)

Jeff

change text colour
 
can you use conditional formatting to change the color of text within a
cell if it contains specific text ?? or is there an easy macro to do same ??

Dave Peterson

change text colour
 
Use format|conditional formatting
formula is:
=isnumber(search("somestring",a1))

=find() is case sensitive
=search() isn't

Or

formula is:
=countif(a1,"*somestring*")0
(you don't even need that 0 portion)

Jeff wrote:

can you use conditional formatting to change the color of text within a
cell if it contains specific text ?? or is there an easy macro to do same ??


--

Dave Peterson

Lena

change text colour
 
Yes, you can use conditional formatting. Select the row(s) where you need to
use formatting, then go to Format-Conditional Formatting. In Condition select
Cell value is Equal To and type the text you need (or select the cell that
contains needed text). Then click Format button and select text color you
need (or other formatting options).

"Jeff" wrote:

can you use conditional formatting to change the color of text within a
cell if it contains specific text ?? or is there an easy macro to do same ??


Jeff

change text colour
 
Dave Peterson wrote:
Use format|conditional formatting
formula is:
=isnumber(search("somestring",a1))

=find() is case sensitive
=search() isn't

Or

formula is:
=countif(a1,"*somestring*")0
(you don't even need that 0 portion)

Jeff wrote:

can you use conditional formatting to change the color of text within a
cell if it contains specific text ?? or is there an easy macro to do same ??



Thanks for you help again !!!


All times are GMT +1. The time now is 12:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com