T
terry.bell
I've been trying to set up conditional formatting based on the values
in two cells, and wanting case sensitivity, using strcomp.
A simplified example of the problem:
Formula
=$A1<>$A2 works fine, and the chosen format is evident only if the
values in A1 and A2 are different.
But anything with the strcomp function doesn't work.
eg if I put in a formula
=strcomp($B1,$B2) <> 0
=strcomp($B1,$B2,0) <> 0
=strcomp($B1,$B2) = 0
=strcomp($B1,$B2,0) = 0
=strcomp($B1,$B2)
Doesn't matter what values I put in, can't get the format to show.
TIA
Terry
in two cells, and wanting case sensitivity, using strcomp.
A simplified example of the problem:
Formula
=$A1<>$A2 works fine, and the chosen format is evident only if the
values in A1 and A2 are different.
But anything with the strcomp function doesn't work.
eg if I put in a formula
=strcomp($B1,$B2) <> 0
=strcomp($B1,$B2,0) <> 0
=strcomp($B1,$B2) = 0
=strcomp($B1,$B2,0) = 0
=strcomp($B1,$B2)
Doesn't matter what values I put in, can't get the format to show.
TIA
Terry