ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Wildcard In Condtional Formatting. (https://www.excelbanter.com/excel-discussion-misc-queries/48718-wildcard-condtional-formatting.html)

Big Rick

Wildcard In Condtional Formatting.
 
Hello, Good Evening & Welcome

I have over 300 cells that can begin with any one of 3 letters. The rest of
the cells can be anying.
I am trying to conditionally format them so that each letter has its own
colour.
In the condtions box, I am selecting "formula is" and entering ="F*", but it
is not working.
Is this right or wrong. Can you actually have wildcards in CF.

Thanking you in anticipation.
--
Big Rick

Barb Reinhardt

Try something like this as one of your conditions ... It needs to be a formula

=LEFT(A1,1)="F"

"Big Rick" wrote:

Hello, Good Evening & Welcome

I have over 300 cells that can begin with any one of 3 letters. The rest of
the cells can be anying.
I am trying to conditionally format them so that each letter has its own
colour.
In the condtions box, I am selecting "formula is" and entering ="F*", but it
is not working.
Is this right or wrong. Can you actually have wildcards in CF.

Thanking you in anticipation.
--
Big Rick


Dave O

Using the "formula is" I got results using this formula:
=LEFT(B3,1)="F"

....where B3 is the cell in question. Or, you could enter all three
letters like this:
=OR(LEFT(B3,1)="F",LEFT(B3,1)="G",LEFT(B3,1)="H")


Big Rick

Many Many Thanks
I bow to your superior knowledge.
--
Big Rick


"Dave O" wrote:

Using the "formula is" I got results using this formula:
=LEFT(B3,1)="F"

....where B3 is the cell in question. Or, you could enter all three
letters like this:
=OR(LEFT(B3,1)="F",LEFT(B3,1)="G",LEFT(B3,1)="H")




All times are GMT +1. The time now is 10:21 PM.

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