Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , ,

Sponsored Links


Conditional Format not working

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 30-12-2009
Member
 
Join Date: Oct 2009
Posts: 82
Conditional Format not working

Sponsored Links
Hello
I have an problem in excel. I put a conditional formatting on a cell that is:
If the box next to (eg A1) is empty, the box (B1) should remain white, but that does not work! I can not represent the word "empty".
Here is what I do
Code:
SI =(N21 ="";1;0)
Any ideas about this. This is not working with me.

Reply With Quote
  #2  
Old 30-12-2009
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,809
Re: Conditional Format not working

Hi
In the conditional format, you should keep in mind that if you take a formula with relative references, they are relative the active cell at the time of the creation of the MFC. To test whether cell left active cell is empty or not, you gotta put in a cell and enter the cell reference left in mfc. Selected test on a formula, as formula, before this, after analog and digital recording placed O21
Code:
= (N21 = "")
Hope this will help you. If any query please do post back.
Reply With Quote
  #3  
Old 30-12-2009
Member
 
Join Date: Oct 2009
Posts: 82
Re: Conditional Format not working

Hi
Selected test on a formula after analog and digital recording placed O21. I did not really understand. So I tried in my MFC. I have this with me now.
Code:
=(N21 ="")
but can not change anything here. Can you re-explain please?
Reply With Quote
  #4  
Old 30-12-2009
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,809
Re: Conditional Format not working

Hello
Selects the cell or range of cells which must change color. This must be in the conditional formatting, the tape in place that offers a formula = cell = "" and is careful that can be written without ca $ and correspond to the cell of high area you have selected
For example, if you want the range C20 to C30 is colored based on whether the corresponding cell range F20 to F30 is empty or not selected must C20: C30 and type = F20 = "" (and choose a formatting).
If you type = $ F $ 20 = "," your whole range C20: C30 will be colored or not a stroke as if F20 is empty or not (and never looks F21: F30).
If you type = F21 = "", your cells will color depending on whether the cell line below is empty or not.
Reply With Quote
  #5  
Old 30-12-2009
Member
 
Join Date: Oct 2009
Posts: 82
Re: Conditional Format not working

Hi
Ok, that's what I did. In fact it is not working because I have two MFC contradictory in the same cell.
The first:
Code:
SI =(N25 ="";1;0)
The second:
Code:
SI =(N25 <= K25;1;0)
Let me explain what I do:
I compare two dates in dd / mm / yyyy in column N and K. Column K is already full, whereas the N column fills up as missions.
The problem is that condition 2 is calculated every time even if the box is empty so my condition has 1 more reason to be. I think to clear my problem I would have to say somewhere that condition 2 is valid only if the value of cell N is of the form dd / mm / yyyy, right?
Reply With Quote
  #6  
Old 30-12-2009
Macarenas's Avatar
Member
 
Join Date: May 2008
Posts: 4,809
Re: Conditional Format not working

Hello
Code:
SI =(N25 ="";1;0)
And this
Code:
SI =(N25 <= K25;1;0)
If you want to make work this.
There is an order of application to the MFC, just inverse it. This trick has worked with me. Hope this will work with you. If you have any more problem, then please do post back.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Conditional Format not working"
Thread Thread Starter Forum Replies Last Post
How does ?: Conditional operator in C# operate GOOL Software Development 5 29-12-2010 09:11 PM
Conditional statements in C sharp Vaikuntam Software Development 3 16-12-2010 07:36 AM
What are the conditional compilation directives in C? Tailor Software Development 3 22-01-2010 07:56 AM
When do we need to use endif to end the conditional statement? Corona Software Development 3 14-09-2009 08:48 PM
Can we Write conditional statements in CSS? machok Software Development 3 04-03-2009 12:34 PM


All times are GMT +5.5. The time now is 01:02 PM.