#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 394
Default Condition BLUE

Good afternoon everyone,

I have a column of figures such as ...

0
0+
1
1+
2
2+

3
3+
4
4+
5
5+
6
6+

.... and I would like to conditionally format them RED for 0 to 2+ and
BLUE for 3 to 6+ please.
I used a formula to calculate these and then concatenate to get the +.

Thanks in advance,
Paul
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Condition BLUE

First, I think I would use two separate columns--one for the number and one for
the +.

But you can try this:
Select your range (I used A1:a15) and with A1 the activecell:
Format|Conditional formatting
Formula is:
=AND(--(SUBSTITUTE(A1,"+",""))=0,--(SUBSTITUTE(A1,"+",""))<3)
(and give it a blue format)

And add another formula:
=AND(--(SUBSTITUTE(A1,"+",""))=3,--(SUBSTITUTE(A1,"+",""))<7)
(and format it red)

The =substitute() replaces the + with "" (nothing) and the -- converts the text
(it's a string) to a real number.


Paul Black wrote:

Good afternoon everyone,

I have a column of figures such as ...

0
0+
1
1+
2
2+

3
3+
4
4+
5
5+
6
6+

... and I would like to conditionally format them RED for 0 to 2+ and
BLUE for 3 to 6+ please.
I used a formula to calculate these and then concatenate to get the +.

Thanks in advance,
Paul


--

Dave Peterson
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
Condition BLUE Paul Black Excel Discussion (Misc queries) 2 October 19th 09 02:11 PM
Blue Cells ptg23963 New Users to Excel 4 December 29th 07 11:21 PM
What is blue triangle? roccogrand Excel Discussion (Misc queries) 2 December 24th 07 03:54 PM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
what do 'blue filenames' mean? Boswell Excel Discussion (Misc queries) 2 January 16th 07 05:36 PM


All times are GMT +1. The time now is 07:11 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"