ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Formatting (https://www.excelbanter.com/excel-discussion-misc-queries/103266-conditional-formatting.html)

[email protected]

Conditional Formatting
 
Can I use conditional formatting to color a cell if the cell "contains"
certain text. I need excel to be able to read "vac" at the end of
someones name, and then color that cell for me.


Toppers

Conditional Formatting
 
Try:

Formula is: =FIND("vac",A1)

Change A1 to your column

All occurences of "vac" will be highlighted e.g vacation.

HTH

" wrote:

Can I use conditional formatting to color a cell if the cell "contains"
certain text. I need excel to be able to read "vac" at the end of
someones name, and then color that cell for me.



Sloth

Conditional Formatting
 
Use "formula is" and enter this formula
=RIGHT(A1,3)="vac"
where A1 is the upper left cell in your selection.

" wrote:

Can I use conditional formatting to color a cell if the cell "contains"
certain text. I need excel to be able to read "vac" at the end of
someones name, and then color that cell for me.




All times are GMT +1. The time now is 07:09 PM.

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