Hi Mike H, thank you so much, I am very simple at this and have tried to copy
and paste but I have no result, if I want to copy the formula or fuction and
apply to excel where do I paste these long winded functions?
OK, here's a very simple one. Alt+F11 to open VB editor. Right click
'ThisWorkbook' and insert module and paste the code below in.
call with
=countcolour(a1:a12,3)
Set the range to suit your. 3 equals red so change that to count a different
colour
Function countcolour(rng As Range, cindex As Integer) As Long
For Each c In rng
If c.Font.ColorIndex = cindex Then
countcolour = countcolour + 1
End If
Next
End Function