Make sure A1 is the active cell in your range when you apply the conditional formatting. I think the problem is that B30 was the active cell and then you should enter the formula as =AND($A30=0;$B30-0).
It does work in OpenOffice.
I don't think so.
But it will probably get faster if you don't select cells to perform an action. For example, the last two lines of your code sample could be written as:
Range("Z9").ClearContents
If you really have A,B,C,D etc in column A (but that is probably not the case), you could use:
=MOD(CHAR(A2);2)=0 as formula for the conditional format.
Maybe there is a similar option for your real data?
I think I know understand what you are trying to do: the duration is in workdays.
Try this:
=IF(AND(Q$23>=$O26;Q$23<=WORKDAY(O26;N26-1;$HO$22:$HO$46));IF(WORKDAY(O26;N26-1;$HO$22:$HO$46)*$HI$27>Q$23;$HI$26;"");"")
It will still plot a character for the weekends/holidays, but the...
I think you want the CONCATENATE function instead of AND:
=CONCATENATE(IF(AND(Q$23>=$O26;Q$23<=$O26+$N26);IF($O26+$N26*$HI$27>Q$23;$HI$26;"");"");WORKDAY(O26;N26-1;$HO$22:$HO$46))
Cyrilz,
If I understand correctly you have a cell with a formula that gives 0 when a task is done, but sometimes the manager types a zero there if it is done before the formula says so?
If that is the case, maybe you can make the formula return a small number (0.01 for example) and format it...
> Btw you can hide the cell contents much more elegantly using custom cell format code ;;;
If you do that, you will also have to set a different number format in the CF-dialog, or the balls will stay hidden, even though they are now green!