Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default Conditional formating not working

Greetings all. I have a formula in E3, =SUM(D6:F6). I have a formula in E4
which is to sum three other cells. In E5 I have formula =E4-E5. I have
conditional formating on E5 as cell value is equal to 0, change background
color to green. If the value of E5 is 0, based on the formula in it, the
conditional formatting does not work. However, if I manually type in 0, then
it turns green. Does anyone know why this would be happening? All cell
involved are formattted as number with no decimals.

Greg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default Conditional formating not working

I think I'm on to something. If I go to a blank cell and enter =E5=0, then I
get FALSE, when the value of E5 is seemingly 0 and is based on the formula
=E4-E5. If, however, I manually type in 0, then =E5=0 returns true, and the
conditional format works. So, what is it about E4-E5 that, even when the
answer is 0, returns a value that Excel does not think is 0? I'm flumoxed.

"Greg Snidow" wrote:

Greetings all. I have a formula in E3, =SUM(D6:F6). I have a formula in E4
which is to sum three other cells. In E5 I have formula =E4-E5. I have
conditional formating on E5 as cell value is equal to 0, change background
color to green. If the value of E5 is 0, based on the formula in it, the
conditional formatting does not work. However, if I manually type in 0, then
it turns green. Does anyone know why this would be happening? All cell
involved are formattted as number with no decimals.

Greg

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default Conditional formating not working

Try formatting E5 to General. It may not actually be zero.

--

"Greg Snidow" wrote in message
...
I think I'm on to something. If I go to a blank cell and enter =E5=0, then
I
get FALSE, when the value of E5 is seemingly 0 and is based on the formula
=E4-E5. If, however, I manually type in 0, then =E5=0 returns true, and
the
conditional format works. So, what is it about E4-E5 that, even when the
answer is 0, returns a value that Excel does not think is 0? I'm flumoxed.

"Greg Snidow" wrote:

Greetings all. I have a formula in E3, =SUM(D6:F6). I have a formula in
E4
which is to sum three other cells. In E5 I have formula =E4-E5. I have
conditional formating on E5 as cell value is equal to 0, change
background
color to green. If the value of E5 is 0, based on the formula in it, the
conditional formatting does not work. However, if I manually type in 0,
then
it turns green. Does anyone know why this would be happening? All cell
involved are formattted as number with no decimals.

Greg



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default Conditional formating not working

PCLIVE, right you are. it is actually .09. So how do I get around this issue?

"PCLIVE" wrote:

Try formatting E5 to General. It may not actually be zero.

--

"Greg Snidow" wrote in message
...
I think I'm on to something. If I go to a blank cell and enter =E5=0, then
I
get FALSE, when the value of E5 is seemingly 0 and is based on the formula
=E4-E5. If, however, I manually type in 0, then =E5=0 returns true, and
the
conditional format works. So, what is it about E4-E5 that, even when the
answer is 0, returns a value that Excel does not think is 0? I'm flumoxed.

"Greg Snidow" wrote:

Greetings all. I have a formula in E3, =SUM(D6:F6). I have a formula in
E4
which is to sum three other cells. In E5 I have formula =E4-E5. I have
conditional formating on E5 as cell value is equal to 0, change
background
color to green. If the value of E5 is 0, based on the formula in it, the
conditional formatting does not work. However, if I manually type in 0,
then
it turns green. Does anyone know why this would be happening? All cell
involved are formattted as number with no decimals.

Greg




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,311
Default Conditional formating not working

You should probably try to figure out why you have a decimal since you
earlier said that there were no decimals. However, if this should be
rounded, then:

=ROUND(E4-E5,)

Hope this helps,
Paul

--

"Greg Snidow" wrote in message
...
PCLIVE, right you are. it is actually .09. So how do I get around this
issue?

"PCLIVE" wrote:

Try formatting E5 to General. It may not actually be zero.

--

"Greg Snidow" wrote in message
...
I think I'm on to something. If I go to a blank cell and enter =E5=0,
then
I
get FALSE, when the value of E5 is seemingly 0 and is based on the
formula
=E4-E5. If, however, I manually type in 0, then =E5=0 returns true,
and
the
conditional format works. So, what is it about E4-E5 that, even when
the
answer is 0, returns a value that Excel does not think is 0? I'm
flumoxed.

"Greg Snidow" wrote:

Greetings all. I have a formula in E3, =SUM(D6:F6). I have a formula
in
E4
which is to sum three other cells. In E5 I have formula =E4-E5. I
have
conditional formating on E5 as cell value is equal to 0, change
background
color to green. If the value of E5 is 0, based on the formula in it,
the
conditional formatting does not work. However, if I manually type in
0,
then
it turns green. Does anyone know why this would be happening? All
cell
involved are formattted as number with no decimals.

Greg








  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 153
Default Conditional formating not working

=ROUND(E4-E5,0) worked. Thanks for the tip.

"PCLIVE" wrote:

Try formatting E5 to General. It may not actually be zero.

--

"Greg Snidow" wrote in message
...
I think I'm on to something. If I go to a blank cell and enter =E5=0, then
I
get FALSE, when the value of E5 is seemingly 0 and is based on the formula
=E4-E5. If, however, I manually type in 0, then =E5=0 returns true, and
the
conditional format works. So, what is it about E4-E5 that, even when the
answer is 0, returns a value that Excel does not think is 0? I'm flumoxed.

"Greg Snidow" wrote:

Greetings all. I have a formula in E3, =SUM(D6:F6). I have a formula in
E4
which is to sum three other cells. In E5 I have formula =E4-E5. I have
conditional formating on E5 as cell value is equal to 0, change
background
color to green. If the value of E5 is 0, based on the formula in it, the
conditional formatting does not work. However, if I manually type in 0,
then
it turns green. Does anyone know why this would be happening? All cell
involved are formattted as number with no decimals.

Greg




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
working with #N/A and conditional formating Craig860 Excel Discussion (Misc queries) 1 October 21st 09 09:09 PM
working with graphics and formating them Mpho Excel Discussion (Misc queries) 0 May 10th 08 03:49 PM
Conditional Formating working when data is entered later ConnieH Excel Worksheet Functions 1 March 19th 07 08:40 PM
Conditional Formating - formula not working EagleOne Excel Discussion (Misc queries) 11 October 25th 06 08:14 PM
Install dates formating using conditional formating? Jerry Eggleston Excel Discussion (Misc queries) 2 November 9th 05 05:49 PM


All times are GMT +1. The time now is 03:31 AM.

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

About Us

"It's about Microsoft Excel"