View Single Post
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default Any IF(A2=font color=red", "1", "0") in excel? Or a way to do it?

Function GetColorindex(rng As Range)
GetColindex = rng.Interior.Colorindex
End Function

=If(GetColorindex(A2)=3,1,0)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Steve" wrote in message
...