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

Nothing here answeres my question so I was hoping someone could help.

For example I have a cell that uses lookup formulas to grab a performance
indicator from another spreadsheet. I want the cell to change in the
following manor:

if cell equals the goal of 17 - background turns green
if cell is within 10% of 17 (above or below but not equal to 17) - turn yellow
if cell is beyond that 10% (greater than 10% above or below but not equal to
17) - turn red.

I couldn't get it to work so I just started with the first condition and I
have a cell that equals 17 exactly but does not turn green. If I type 17
over the formula whose result is 17 the cell does turn green. What am I
doing wrong? Is it the difference between "Formula is" and "Cell Value is"?
What should the formulas be to make this stop light coloring work?

Thanks again for all your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional formatting with formulas

Use the Formula Is option.

Let's assume you're dealing with cell A1.

Condition 1 - GREEN
=A1=17

Condition 2 - YELLOW
=AND(A1=15.3,A1<=18.7)

Condition 3 - RED
=OR(AND(A1<"",A1<15.3),AND(COUNT(A1),A118.7))


--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Nothing here answeres my question so I was hoping someone could help.

For example I have a cell that uses lookup formulas to grab a performance
indicator from another spreadsheet. I want the cell to change in the
following manor:

if cell equals the goal of 17 - background turns green
if cell is within 10% of 17 (above or below but not equal to 17) - turn
yellow
if cell is beyond that 10% (greater than 10% above or below but not equal
to
17) - turn red.

I couldn't get it to work so I just started with the first condition and I
have a cell that equals 17 exactly but does not turn green. If I type 17
over the formula whose result is 17 the cell does turn green. What am I
doing wrong? Is it the difference between "Formula is" and "Cell Value
is"?
What should the formulas be to make this stop light coloring work?

Thanks again for all your help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 91
Default Conditional formatting with formulas

Thank you so much. I first tried condition 1 and it didn't work. I figure
you know what your talking about so what am I doing wrong. It turns out that
if I extend the number of decibles out, the answer isn't really exactly 17
but 16.99. Thank you for helping me and more importantly for restoring my
sanity - I thought I was going crazy.

"T. Valko" wrote:

Use the Formula Is option.

Let's assume you're dealing with cell A1.

Condition 1 - GREEN
=A1=17

Condition 2 - YELLOW
=AND(A1=15.3,A1<=18.7)

Condition 3 - RED
=OR(AND(A1<"",A1<15.3),AND(COUNT(A1),A118.7))


--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Nothing here answeres my question so I was hoping someone could help.

For example I have a cell that uses lookup formulas to grab a performance
indicator from another spreadsheet. I want the cell to change in the
following manor:

if cell equals the goal of 17 - background turns green
if cell is within 10% of 17 (above or below but not equal to 17) - turn
yellow
if cell is beyond that 10% (greater than 10% above or below but not equal
to
17) - turn red.

I couldn't get it to work so I just started with the first condition and I
have a cell that equals 17 exactly but does not turn green. If I type 17
over the formula whose result is 17 the cell does turn green. What am I
doing wrong? Is it the difference between "Formula is" and "Cell Value
is"?
What should the formulas be to make this stop light coloring work?

Thanks again for all your help.




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional formatting with formulas

Yeah, those unseen extra decimal places can reek havoc on your sanity!

So, I take it you got it sorted out? If not, just let us know. You might
have to do some sort of rounding.

--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Thank you so much. I first tried condition 1 and it didn't work. I
figure
you know what your talking about so what am I doing wrong. It turns out
that
if I extend the number of decibles out, the answer isn't really exactly 17
but 16.99. Thank you for helping me and more importantly for restoring my
sanity - I thought I was going crazy.

"T. Valko" wrote:

Use the Formula Is option.

Let's assume you're dealing with cell A1.

Condition 1 - GREEN
=A1=17

Condition 2 - YELLOW
=AND(A1=15.3,A1<=18.7)

Condition 3 - RED
=OR(AND(A1<"",A1<15.3),AND(COUNT(A1),A118.7))


--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Nothing here answeres my question so I was hoping someone could help.

For example I have a cell that uses lookup formulas to grab a
performance
indicator from another spreadsheet. I want the cell to change in the
following manor:

if cell equals the goal of 17 - background turns green
if cell is within 10% of 17 (above or below but not equal to 17) - turn
yellow
if cell is beyond that 10% (greater than 10% above or below but not
equal
to
17) - turn red.

I couldn't get it to work so I just started with the first condition
and I
have a cell that equals 17 exactly but does not turn green. If I type
17
over the formula whose result is 17 the cell does turn green. What am
I
doing wrong? Is it the difference between "Formula is" and "Cell Value
is"?
What should the formulas be to make this stop light coloring work?

Thanks again for all your help.






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 91
Default Conditional formatting with formulas

Got it - thanks to your formulas. Thanks!

"T. Valko" wrote:

Yeah, those unseen extra decimal places can reek havoc on your sanity!

So, I take it you got it sorted out? If not, just let us know. You might
have to do some sort of rounding.

--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Thank you so much. I first tried condition 1 and it didn't work. I
figure
you know what your talking about so what am I doing wrong. It turns out
that
if I extend the number of decibles out, the answer isn't really exactly 17
but 16.99. Thank you for helping me and more importantly for restoring my
sanity - I thought I was going crazy.

"T. Valko" wrote:

Use the Formula Is option.

Let's assume you're dealing with cell A1.

Condition 1 - GREEN
=A1=17

Condition 2 - YELLOW
=AND(A1=15.3,A1<=18.7)

Condition 3 - RED
=OR(AND(A1<"",A1<15.3),AND(COUNT(A1),A118.7))


--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Nothing here answeres my question so I was hoping someone could help.

For example I have a cell that uses lookup formulas to grab a
performance
indicator from another spreadsheet. I want the cell to change in the
following manor:

if cell equals the goal of 17 - background turns green
if cell is within 10% of 17 (above or below but not equal to 17) - turn
yellow
if cell is beyond that 10% (greater than 10% above or below but not
equal
to
17) - turn red.

I couldn't get it to work so I just started with the first condition
and I
have a cell that equals 17 exactly but does not turn green. If I type
17
over the formula whose result is 17 the cell does turn green. What am
I
doing wrong? Is it the difference between "Formula is" and "Cell Value
is"?
What should the formulas be to make this stop light coloring work?

Thanks again for all your help.








  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Conditional formatting with formulas

Good deal. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Got it - thanks to your formulas. Thanks!

"T. Valko" wrote:

Yeah, those unseen extra decimal places can reek havoc on your sanity!

So, I take it you got it sorted out? If not, just let us know. You might
have to do some sort of rounding.

--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Thank you so much. I first tried condition 1 and it didn't work. I
figure
you know what your talking about so what am I doing wrong. It turns
out
that
if I extend the number of decibles out, the answer isn't really exactly
17
but 16.99. Thank you for helping me and more importantly for restoring
my
sanity - I thought I was going crazy.

"T. Valko" wrote:

Use the Formula Is option.

Let's assume you're dealing with cell A1.

Condition 1 - GREEN
=A1=17

Condition 2 - YELLOW
=AND(A1=15.3,A1<=18.7)

Condition 3 - RED
=OR(AND(A1<"",A1<15.3),AND(COUNT(A1),A118.7))


--
Biff
Microsoft Excel MVP


"JICDB" wrote in message
...
Nothing here answeres my question so I was hoping someone could
help.

For example I have a cell that uses lookup formulas to grab a
performance
indicator from another spreadsheet. I want the cell to change in
the
following manor:

if cell equals the goal of 17 - background turns green
if cell is within 10% of 17 (above or below but not equal to 17) -
turn
yellow
if cell is beyond that 10% (greater than 10% above or below but not
equal
to
17) - turn red.

I couldn't get it to work so I just started with the first condition
and I
have a cell that equals 17 exactly but does not turn green. If I
type
17
over the formula whose result is 17 the cell does turn green. What
am
I
doing wrong? Is it the difference between "Formula is" and "Cell
Value
is"?
What should the formulas be to make this stop light coloring work?

Thanks again for all your help.








  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Conditional formatting with formulas

Hi

Northing wrog in the formula.

We take nos as round Nos like 17,18 and all,But Computer Will Have huge diff
in trrms of 11 or 11.0001 .Thats why your are getting this error.

Pl modify your formula value like this

if cell more than 17.001 - background turns green
if cell is within 10 to 17 (above or below but not equal to 17) - turn yellow
if cell is beyond that 9.999% (greater than 10% above or below but not equal to
17) - turn red.


Now pl try you will get the correct Format.

I have tried and found ok pl reply your Experiance.

My mailid

"JICDB" wrote:

Nothing here answeres my question so I was hoping someone could help.

For example I have a cell that uses lookup formulas to grab a performance
indicator from another spreadsheet. I want the cell to change in the
following manor:

if cell equals the goal of 17 - background turns green
if cell is within 10% of 17 (above or below but not equal to 17) - turn yellow
if cell is beyond that 10% (greater than 10% above or below but not equal to
17) - turn red.

I couldn't get it to work so I just started with the first condition and I
have a cell that equals 17 exactly but does not turn green. If I type 17
over the formula whose result is 17 the cell does turn green. What am I
doing wrong? Is it the difference between "Formula is" and "Cell Value is"?
What should the formulas be to make this stop light coloring work?

Thanks again for all your help.

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
formulas in conditional formatting Alaa Masry Excel Worksheet Functions 2 December 13th 08 12:25 AM
Conditional Formatting-No Formulas IvanM Excel Worksheet Functions 16 March 10th 08 09:23 PM
Conditional formatting formulas Kobus Excel Discussion (Misc queries) 2 January 10th 07 02:28 PM
Conditional Formatting for Formulas Murat Gordeslioglu Excel Discussion (Misc queries) 3 June 22nd 06 09:03 AM
Conditional Formatting - Formulas meandmyhorse Excel Discussion (Misc queries) 2 February 18th 06 12:58 PM


All times are GMT +1. The time now is 08:33 AM.

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"