|
| ||||||||||
| Tags: conditional format, excel, function, office suit |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Conditional Format not working
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) |
|
#2
| ||||
| ||||
| 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 = "") |
|
#3
| |||
| |||
| 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 ="") |
|
#4
| ||||
| ||||
| 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. |
|
#5
| |||
| |||
| 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) Code: SI =(N25 <= K25;1;0) 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? |
|
#6
| ||||
| ||||
| Re: Conditional Format not working
Hello Code: SI =(N25 ="";1;0) Code: SI =(N25 <= K25;1;0) 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. |
![]() |
|
| Thread Tools | Search this Thread |
| |
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 |