Hi, i found this code but it kindly lag somehow..
it keep counting and got the % show on the excel bar.
And it also included empty cell that has font colour
=CountColour(F2:BO2,$A$1)
it keep counting and got the % show on the excel bar.
And it also included empty cell that has font colour
=CountColour(F2:BO2,$A$1)
Public Function CountColour(pRange1 As Range, pRange2 As Range) As Double
'Update by Extendoffice
Application.Volatile
Dim rng As Range
For Each rng In pRange1
If rng.Font.Color = pRange2.Font.Color Then
CountColour = CountColour + 1
End If
Next
End Function