Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default conditional formatting with text

I am trying to make three conitional formats on a cell with text.
The cell text will be one of the following:
Di......
Do.....
or something else.
If the text begins with Di, I wat the cell format to be red text.
If the text begins with Do, I want the cell format to be blue text.
If the text does not begin with Di or Do, I want the cell format to be black
text.

I set the conditional formatting as follows:
Cond #1: Cell Value is not between Di & Do then black
Cond #2: Cell Value is greater than Di then red text
Cond #3: Cell Value is greater than or equal to Do thenblue text

Condition #1 is overwriting condition #3. If I switch them, cond3 overwrites
cond1.

How do I make this work? Is there a way to say If Cell Value is greater than
Do....?
  #2   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default conditional formatting with text

try
=and(left(a1,2)<"Di",Left(A1,2)<"Do") for black
=left(A1,2)="Di" for red
=left(A1,2)="Do" for blue


"Christine Hemphill" wrote:

I am trying to make three conitional formats on a cell with text.
The cell text will be one of the following:
Di......
Do.....
or something else.
If the text begins with Di, I wat the cell format to be red text.
If the text begins with Do, I want the cell format to be blue text.
If the text does not begin with Di or Do, I want the cell format to be black
text.

I set the conditional formatting as follows:
Cond #1: Cell Value is not between Di & Do then black
Cond #2: Cell Value is greater than Di then red text
Cond #3: Cell Value is greater than or equal to Do thenblue text

Condition #1 is overwriting condition #3. If I switch them, cond3 overwrites
cond1.

How do I make this work? Is there a way to say If Cell Value is greater than
Do....?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default conditional formatting with text

I entered it just like you have below, but everything is now showing as black
text. I went back in and noticed that it replaced all of the (A1,2) with
(A7,2). I may not understand the logic. Why is it replacing that?

"bj" wrote:

try
=and(left(a1,2)<"Di",Left(A1,2)<"Do") for black
=left(A1,2)="Di" for red
=left(A1,2)="Do" for blue


"Christine Hemphill" wrote:

I am trying to make three conitional formats on a cell with text.
The cell text will be one of the following:
Di......
Do.....
or something else.
If the text begins with Di, I wat the cell format to be red text.
If the text begins with Do, I want the cell format to be blue text.
If the text does not begin with Di or Do, I want the cell format to be black
text.

I set the conditional formatting as follows:
Cond #1: Cell Value is not between Di & Do then black
Cond #2: Cell Value is greater than Di then red text
Cond #3: Cell Value is greater than or equal to Do thenblue text

Condition #1 is overwriting condition #3. If I switch them, cond3 overwrites
cond1.

How do I make this work? Is there a way to say If Cell Value is greater than
Do....?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default conditional formatting with text

I rechecked. It replaced the 1 with a 7 when I used the format paste function
on a cell in row 8. Now that I know why it did that, I still don't know why
it didn't work on the first one. Please help.

"bj" wrote:

try
=and(left(a1,2)<"Di",Left(A1,2)<"Do") for black
=left(A1,2)="Di" for red
=left(A1,2)="Do" for blue


"Christine Hemphill" wrote:

I am trying to make three conitional formats on a cell with text.
The cell text will be one of the following:
Di......
Do.....
or something else.
If the text begins with Di, I wat the cell format to be red text.
If the text begins with Do, I want the cell format to be blue text.
If the text does not begin with Di or Do, I want the cell format to be black
text.

I set the conditional formatting as follows:
Cond #1: Cell Value is not between Di & Do then black
Cond #2: Cell Value is greater than Di then red text
Cond #3: Cell Value is greater than or equal to Do thenblue text

Condition #1 is overwriting condition #3. If I switch them, cond3 overwrites
cond1.

How do I make this work? Is there a way to say If Cell Value is greater than
Do....?

  #5   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default conditional formatting with text

make sure you enter the cell name of the first cell in the selectied cells in
the conditional format equation

"Christine Hemphill" wrote:

I rechecked. It replaced the 1 with a 7 when I used the format paste function
on a cell in row 8. Now that I know why it did that, I still don't know why
it didn't work on the first one. Please help.

"bj" wrote:

try
=and(left(a1,2)<"Di",Left(A1,2)<"Do") for black
=left(A1,2)="Di" for red
=left(A1,2)="Do" for blue


"Christine Hemphill" wrote:

I am trying to make three conitional formats on a cell with text.
The cell text will be one of the following:
Di......
Do.....
or something else.
If the text begins with Di, I wat the cell format to be red text.
If the text begins with Do, I want the cell format to be blue text.
If the text does not begin with Di or Do, I want the cell format to be black
text.

I set the conditional formatting as follows:
Cond #1: Cell Value is not between Di & Do then black
Cond #2: Cell Value is greater than Di then red text
Cond #3: Cell Value is greater than or equal to Do thenblue text

Condition #1 is overwriting condition #3. If I switch them, cond3 overwrites
cond1.

How do I make this work? Is there a way to say If Cell Value is greater than
Do....?



  #6   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default conditional formatting with text

enter the equations in a blank cell referencing a cell which you think meets
the character requirements. if the response is false there may be a leading
space and you may have to add a trim() portion

"Christine Hemphill" wrote:

I entered it just like you have below, but everything is now showing as black
text. I went back in and noticed that it replaced all of the (A1,2) with
(A7,2). I may not understand the logic. Why is it replacing that?

"bj" wrote:

try
=and(left(a1,2)<"Di",Left(A1,2)<"Do") for black
=left(A1,2)="Di" for red
=left(A1,2)="Do" for blue


"Christine Hemphill" wrote:

I am trying to make three conitional formats on a cell with text.
The cell text will be one of the following:
Di......
Do.....
or something else.
If the text begins with Di, I wat the cell format to be red text.
If the text begins with Do, I want the cell format to be blue text.
If the text does not begin with Di or Do, I want the cell format to be black
text.

I set the conditional formatting as follows:
Cond #1: Cell Value is not between Di & Do then black
Cond #2: Cell Value is greater than Di then red text
Cond #3: Cell Value is greater than or equal to Do thenblue text

Condition #1 is overwriting condition #3. If I switch them, cond3 overwrites
cond1.

How do I make this work? Is there a way to say If Cell Value is greater than
Do....?

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default conditional formatting with text

Let's see............
There is only one cell that the text is in. That cell is populated using a
formula referring to another tab. I am trying to set up the three conditions
on that one cell. I changed the conditional formats to look at that cell. It
is still not working. Help.

"bj" wrote:

make sure you enter the cell name of the first cell in the selectied cells in
the conditional format equation

"Christine Hemphill" wrote:

I rechecked. It replaced the 1 with a 7 when I used the format paste function
on a cell in row 8. Now that I know why it did that, I still don't know why
it didn't work on the first one. Please help.

"bj" wrote:

try
=and(left(a1,2)<"Di",Left(A1,2)<"Do") for black
=left(A1,2)="Di" for red
=left(A1,2)="Do" for blue


"Christine Hemphill" wrote:

I am trying to make three conitional formats on a cell with text.
The cell text will be one of the following:
Di......
Do.....
or something else.
If the text begins with Di, I wat the cell format to be red text.
If the text begins with Do, I want the cell format to be blue text.
If the text does not begin with Di or Do, I want the cell format to be black
text.

I set the conditional formatting as follows:
Cond #1: Cell Value is not between Di & Do then black
Cond #2: Cell Value is greater than Di then red text
Cond #3: Cell Value is greater than or equal to Do thenblue text

Condition #1 is overwriting condition #3. If I switch them, cond3 overwrites
cond1.

How do I make this work? Is there a way to say If Cell Value is greater than
Do....?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Formatting when inserting a row zahoulik Excel Worksheet Functions 2 January 7th 06 03:01 PM
Conditional formatting : amount of decimals belgian11 Excel Discussion (Misc queries) 0 December 25th 05 04:47 PM
Formulas dealing with text data Bagia Excel Worksheet Functions 6 June 20th 05 10:29 PM
How do I apply conditional formatting to a text box barneshere Excel Worksheet Functions 1 May 27th 05 06:26 PM
Conditional Formatting based on Text within Text George Lynch Excel Discussion (Misc queries) 3 May 5th 05 07:58 PM


All times are GMT +1. The time now is 02:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"