N
Nacht Klavier
Hello,
I am trying to conditionally format a cell based on two values: the
value of another cell and the value of this cell itself. I am using
the following:
=IF(AND(INDIRECT(ADDRESS(ROW();3))="B";D6>0);TRUE;FALSE)
Check if in the current row at column 3 the value is "B" and if the
value of this cell is greater than 0
This does work if I write it directly in a cell. If I use the exact
same formula in the conditional formatting dialog, nothing happens. I
learned that in Excel 2003 there was a bug concerning the INDIRECT and
AND function (http://groups.google.de/group/microsoft.public.excel/
browse_thread/thread/
9973d2120f5fad15/13b37943e529dd96#13b37943e529dd96).
So I changed it to:
=IF(AND(OFFSET(A1;ROW()-1;3-1)="B";D6>0);TRUE;FALSE)
but again, it fails. Replacing ROW() with a value like "6" and
everything is fine.
Does anyone has a solution/workaround for this?
Thanks.
NK
I am trying to conditionally format a cell based on two values: the
value of another cell and the value of this cell itself. I am using
the following:
=IF(AND(INDIRECT(ADDRESS(ROW();3))="B";D6>0);TRUE;FALSE)
Check if in the current row at column 3 the value is "B" and if the
value of this cell is greater than 0
This does work if I write it directly in a cell. If I use the exact
same formula in the conditional formatting dialog, nothing happens. I
learned that in Excel 2003 there was a bug concerning the INDIRECT and
AND function (http://groups.google.de/group/microsoft.public.excel/
browse_thread/thread/
9973d2120f5fad15/13b37943e529dd96#13b37943e529dd96).
So I changed it to:
=IF(AND(OFFSET(A1;ROW()-1;3-1)="B";D6>0);TRUE;FALSE)
but again, it fails. Replacing ROW() with a value like "6" and
everything is fine.
Does anyone has a solution/workaround for this?
Thanks.
NK