Function CPAB(Rng As Range)
ctr = 0
For Each c In Rng
If c.Font.ColorIndex = 13 And c.Font.Bold = True Then
ctr = ctr + 1
Else
End If
Next
CPAB = ctr
End Function
Then in a cell, enter
=CPAB(A1:A100)
where A1:A100 holds your cells that may be purple and bold
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.