Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 318
Default Conditional Formating and Formula

Hello I have the following formula in a cell =IF(W3-V3=0," ",W3-V3). I'm
trying to conditional format all cells that have an answer and I used the
following formula in the conditional format window =$X2<0 . And it
highlight the cell . How do I correct this I thinki t has to do with the if
formula and " " but i dont know how to correct it thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Conditional Formating and Formula

It's hard to understand what you want, exactly. I assuming the IF formula
is in X2. If you want cell X2 to change color when it does not equal zero,
then in conditional formatting for that cell:

Cell Value Is
not equal to
0


Note you can select multiple cells when applying this formatting.

HTH,
Paul


"Wanna Learn" wrote in message
...
Hello I have the following formula in a cell =IF(W3-V3=0," ",W3-V3).
I'm
trying to conditional format all cells that have an answer and I used the
following formula in the conditional format window =$X2<0 . And it
highlight the cell . How do I correct this I thinki t has to do with the
if
formula and " " but i dont know how to correct it thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default Conditional Formating and Formula

try getting rid of the space between the Quote marks "" instead of " "
make you conditional formula be <""

"Wanna Learn" wrote:

Hello I have the following formula in a cell =IF(W3-V3=0," ",W3-V3). I'm
trying to conditional format all cells that have an answer and I used the
following formula in the conditional format window =$X2<0 . And it
highlight the cell . How do I correct this I thinki t has to do with the if
formula and " " but i dont know how to correct it thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Conditional Formating and Formula

Your formula returns a <space if W3-V3 is zero so it will always be <0 and be
highlighted.

Perhaps change the " " to "" for blank and use =$X2<""


Gord Dibben MS Excel MVP

On Fri, 4 May 2007 08:15:01 -0700, Wanna Learn
wrote:

Hello I have the following formula in a cell =IF(W3-V3=0," ",W3-V3). I'm
trying to conditional format all cells that have an answer and I used the
following formula in the conditional format window =$X2<0 . And it
highlight the cell . How do I correct this I thinki t has to do with the if
formula and " " but i dont know how to correct it thanks


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Conditional Formating and Formula

If you want the cell blank when equal to zero, it's not necessary to add a
space, try this instead:
=IF(W3-V3=0,"",W3-V3)
and set your conditional format to:
=$X2<""
or
=$X2<" "
if you prefer your original formula.
"" is called a zero length string - a string that contains no characters.

"Wanna Learn" wrote:

Hello I have the following formula in a cell =IF(W3-V3=0," ",W3-V3). I'm
trying to conditional format all cells that have an answer and I used the
following formula in the conditional format window =$X2<0 . And it
highlight the cell . How do I correct this I thinki t has to do with the if
formula and " " but i dont know how to correct it thanks



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Conditional Formating and Formula

If you don't want to show anything when a formula returns zero, you could
just select Tools Options View and uncheck the Zero values checkbox.
Then your original conditional formatting formula should work (or you could
choose "Cell value is", then "not equal to", then 0).

Hope this helps,

Hutch

"Wanna Learn" wrote:

Hello I have the following formula in a cell =IF(W3-V3=0," ",W3-V3). I'm
trying to conditional format all cells that have an answer and I used the
following formula in the conditional format window =$X2<0 . And it
highlight the cell . How do I correct this I thinki t has to do with the if
formula and " " but i dont know how to correct it thanks

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 Formating Formula Rob Excel Discussion (Misc queries) 4 November 28th 06 01:55 PM
if, then formula with conditional formating Rex Excel Worksheet Functions 4 October 23rd 06 05:29 PM
If Formula or conditional formating Nora Najem Excel Discussion (Misc queries) 2 October 11th 06 01:54 PM
Formula for Conditional Formating - Help! Mark Campbell Excel Worksheet Functions 2 July 26th 06 07:57 AM
Conditional formating using array formula?? Andre Croteau Excel Discussion (Misc queries) 1 February 10th 06 09:43 PM


All times are GMT +1. The time now is 09:28 PM.

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"