Wer kann helfen?
Ist es in Excel möglich, egal welche Farbe im Bereich E6:E25 je Farbe als Anzahl
1 zu zählen und als Summe in E26 zu stellen?
Schon mal tausend Dank
Achim H.
Function Summe_Farbe(DataRange)
Application.Volatile
Sum = 0
For Each cell In DataRange
If cell.Interior.ColorIndex > -4142 Then
Sum = Sum + 1
End If
Next
Summe_Farbe = Sum
End Function