ciao
esempio di una UDF che calcola le celle non colorate
PS il colore non viene dato dalla formattazione condizionale ma da ribbon
Function SommaNoColore(ByVal Rng As Range) As Double
Dim colCella As Variant
For Each colCella In Rng
If colCella.Interior.ColorIndex = xlNone Then
SommaNoColore = SommaNoColore + colCella.Value
End If
Next
End Function
Ciao da locate
excel 2007 / 13